|
bref
API 2014 of the Zia HTTP server.
|
Provides IPv4 & Ipv6 encapsulation. More...
#include <IpAddress.h>
Public Member Functions | |
| IpAddress (const char *host) | |
| bool | isV4 () const |
| checks if an address is an IPv4 address | |
| bool | isV6 () const |
| checks if an address is an IPv6 address | |
| bool | isV4Compatible () const |
| checks if an address is an IPv4 compatible address | |
| const IPv4Address & | getV4 () const |
| get the IPv4 address | |
| const IPv6Address & | getV6 () const |
| get the IPv6 address | |
Protected Types | |
| enum | { IPv4, IPv6, IPerror } |
Protected Attributes | |
| enum bref::IpAddress:: { ... } | ipAddressStatus_ |
| union { | |
| IPv4Address v4_ [4] | |
| IPv6Address v6_ | |
| } | ipAddress_ |
Provides IPv4 & Ipv6 encapsulation.
| bref::IpAddress::IpAddress | ( | const char * | host | ) |
| get | an IpAddress from a hostname, an IPv4 or IPv6 address |
1.8.0