Internet Direct (Indy)
Home
PreviousUpNext
TIdNetworkCalculator.NumIP Method

Identifies the number of IP addresses available on the network.

Pascal
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.

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.