Microsoft Chat Server SDK Reference

IPMask Property

This property contains the IP address mask used to add members to the class.

Syntax

Mask = ChatClass.IPMask
ChatClass.IPMask = Mask

Parameters

Address
The IP address mask used to select members of the class, as a string.

Remarks

IPAddress and IPMask work together to define a range of acceptable IP addresses. Chat Service performs one Boolean AND operation between the IPMask and the client's IP address, and another between the IPMask and IPAddress. If the two resulting addresses are identical, the service adds the client to the class.

For example, if IPMask is 255.255.255.0, IPAddress is 10.120.103.0, and a client's IP address is 10.120.103.5, the service adds the client to the class. A client whose IP address is 10.120.104.5 is not added.

The IdentMask property is ignored if you enter an IP address.

See Also

IdentMask

IPAddress


© 1998 Microsoft Corporation. All rights reserved.