Internet Direct (Indy)
Home
PreviousUpNext
TIdIPAddressType Enumeration

Represents the class type for an IP address.

Pascal
TIdIPAddressType = (
  IPLocalHost,
  IPLocalNetwork,
  IPReserved,
  IPInternetHost,
  IPPrivateNetwork,
  IPLoopback,
  IPMulticast,
  IPFutureUse,
  IPGlobalBroadcast
);

TIdIPAddressType is an enumerated type that represents the values that can be used to indicate the address class type for the Network and Host portions of an IP Address. 

TIdIPAddressType can contain one of the following values and associated meanings: 

 

Value Meaning 
 

---------------- ----------------------------------------------------

 

IPLocalHost A local host also used to signify the default router. (0.0.0.0) 
IPLocalNetwork A host computer on the local network. (0.0.0.1 - 0.255.255.255) 
IPInternetHost Address in Class A, B, or C address space not reserved for private networks or future use. 
IPPrivateNetwork Address reserved for use on a private network. (10.0.0.0 - 10.255.255.255) (172.16.0.0 - 172.31.255.255) (192.168.0.0 - 192.168.255.255) 
IPLoopback Used for internal host loopback. (127.0.0.1 - 127.255.255.255) 
IPMulticast Address reserved for multicast groups. (224.0.0.0 - 239.255.255.254) 
IPGlobalBroadcast Broadcast to all hosts on the local network. (255.255.255.255) 
IPReserved http://www.iana.org/assignments/ipv4-address-space 
IPFutureUse http://www.iana.org/assignments/ipv4-address-space 

 

TIdIPAddressType is the type used to represent the TIdNetworkCalculator.AddressType property.

TIdNetworkCalculator.AddressType

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.