class Address |
A class describing an IP address
| Address constructors | |
| Compare (const PObject & obj) const Compare two adresses | |
| AsString () const Format an address as a string | |
| FromString ( const PString & str ) Convert string to IP address. | |
| operator PString () const Format an address as a string | |
| operator in_addr () const Return IPv4 address in network order | |
| operator in6_addr () const Return IPv4 address in network order | |
| operator DWORD () const Return IPv4 address in network order | |
| Byte1 () const Return first byte of IPv4 address | |
| Byte2 () const Return second byte of IPv4 address | |
| Byte3 () const Return third byte of IPv4 address | |
| Byte4 () const Return fourth byte of IPv4 address | |
| operator[] (PINDEX idx) const return specified byte of IPv4 or IPv6 address | |
| GetSize () const Get the address length (will be either 4 or 16) | |
| GetPointer () const Get the pointer to IP address data | |
| GetVersion () const Get the version of the IP address being used | |
| IsValid () const Check address 0000 or :: | |
| IsLoopback () const Check address 127001 or ::1 | |
| IsBroadcast () const Check for Broadcast address 255255255255 | |
| IsV4Mapped () const Check for v4 mapped i nv6 address ::ffff:abcd |
| Runtime test of IP addresse type |
Run Time Type functions
I/O functions
Comparison functions
A class describing an IP address
Alphabetic index HTML hierarchy of classes or Java