Topic Path: Symbol Reference > Classes > TIdNetworkCalculator Class > TIdNetworkCalculator Properties > NetworkMaskLength Property
TIdNetworkCalculator.NetworkMaskLength Property

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

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.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.