TNetwork class is an enumerated type that identifies the valid values that can be used in
TIdNetworkCalculator. Values in the TNetworkClass enumeration correspond to the network addressing scheme described in the Internet Standards document RFC 1365 - An IP Address Extension Proposal (http://www.rfc-editor.org/rfc/rfc1365.txt) . .
The 32-bit IP address is defined as having a network part and a local address part. The division between the network part and the local address part has been defined in terms of 5 address classes: class A, B, C, D, E. Only class A, B, and C addresses are assigned to hosts. Class D is used for multicasting. Class E is reserved.
The enumerated values and meanings of TNetworkClass are:
- ID_NET_CLASS_A - Class A has the highest order bit set to 0, a 7 bit network number and a 24 bit host address.
- ID_NET_CLASS_B - Class B has the two higher order bits set to 10, a 14 bit network number and a 16 bit host address.
- ID_NET_CLASS_C - Class C has the three higher order bit set to 110, a 21 bit network number and a 8 bit host address.
- ID_NET_CLASS_D - Class D has the four higher order bits set to 1110.
- ID_NET_CLASS_E- Class E has four higher address bits set to 1111.