libnavajo
web server for static and dynamic pages developement in C++
Classes | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
IpAddress Class Reference
Collaboration diagram for IpAddress:
Collaboration graph
[legend]

Classes

union  IP
 

Public Member Functions

void init ()
 
 IpAddress (const in_addr_t &addrIPv4)
 
 IpAddress (const in6_addr &addrIPv6)
 
 IpAddress (const std::string &value)
 
bool isNull () const
 
IpAddressoperator= (const in_addr_t &addrIPv4)
 
IpAddressoperator= (const in6_addr &addrIPv6)
 
IpAddressoperator= (const IpAddress &i)
 
bool operator== (IpAddress const &ipA) const
 
bool operator< (const IpAddress &A) const
 
bool isUndef () const
 
std::string str () const
 
bool snresolve (char *hname, const size_t maxlength) const
 

Static Public Member Functions

static IpAddressfromString (const std::string &value)
 

Public Attributes

IP ip
 
u_int8_t ipversion
 

Static Public Attributes

static pthread_mutex_t resolvIP_mutex = PTHREAD_MUTEX_INITIALIZER
 

The documentation for this class was generated from the following files: