Internet Direct (Indy)
Home
PreviousUpNext
TIdNetworkCalculator.NetworkMaskLength Property

Specifies the number of available network addresses for the current network.

Pascal
property NetworkMaskLength: cardinal;

NetworkMaskLength is a Cardinal property that identifies the number of available network addresses for the network based on the value of NetworkMask. The default value for NetworkMaskLength is ID_NC_MASK_LENGTH, as assigned during initialization of the component. 

NetworkMaskLength is automatically recalculated in the OnNetMaskChange event handler following a change in the value of NetworkMask.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.