Topic Path: Symbol Reference > Classes > TIdNetworkCalculator Class > TIdNetworkCalculator Methods > NumIP Method
ContentsIndexHome
PreviousUpNext
TIdNetworkCalculator.NumIP Method

Identifies the number of IP addresses available on the network.

function NumIP: integer;

Integer - Number of IP addresses available.

NumIP is an Integer function that identifies the number of IP addresses available on the network, based on the current NetworkMask. NumIP uses NetworkMaskLength to calculate the number of IP addresses available. 

NumIP is used by FillIPList to determine the number of list entries, and by EndIP to determine the last available IP address on the network.

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