Topic Path: Symbol Reference > Classes > TIdNetworkCalculator Class
ContentsIndexHome
PreviousUpNext
TIdNetworkCalculator Class

Implements an IP address calculator.

File
TIdNetworkCalculator = class(TIdBaseComponent);

TIdNetworkCalculator is a TIdBaseComponent descendant that implements a component used to calculate the validity of a network address, or calculate a list of valid network addresses. 

The IP address used by TIdNetworkCalculator is based on the network address scheme, as described in the Internet Standards document: 

RFC 1365 - An IP Address Extension Proposal  

Assign values to the properties NetworkClass, NetworkAddress, and NetworkMask to allow the component to validate the IP address desired. You can also use IsAddressInNetwork to determine if a specific network address is valid based on the NetworkMask settings. Use ListIP to view a list of IP addresses accessible over a network having the given network address and network mask.

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