Indy 9 | Content | Index | Reference

TIdIPAddressType
Unit: IdNetworkCalculator
Represents the class type for an IP address.

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

Unit
IdNetworkCalculator
Description
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:

- 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)

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

Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.