representation of IP address (abstracts IPv4 and IPv6) More...
#include <wavesock.h>
Public Types | |
enum | eType { eType_IPv4 = 1, eType_IPv6 = 2, eType_Invalid = 0 } |
Public Member Functions | |
ip_addr_t (void) throw () | |
void | clear (void) throw () |
eType | getType (void) const throw () |
bool | isValid (void) const throw () |
bool | operator!= (IN const ip_addr_t &rhs) const throw () |
bool | operator== (IN const ip_addr_t &rhs) const throw () |
void | dump (IN const char *title) const throw () |
bool | lookupHostname (IN const char *hostname) |
attempts to look up the IP of the remote host. | |
bool | isLoopback (void) const throw () |
is this just a loopback IP address? (127.0.0.1 for IPv4) | |
void | setLoopback (void) throw () |
sets to loopback (127.0.0.1 for IPv4) | |
bool | setBroadcast (void) throw () |
sets to broadcast. | |
void | setIPv4 (IN const byte_t *ip) throw () |
void | setIPv6 (IN const byte_t *ip) throw () |
Public Attributes | |
byte_t | addr [6] |
byte_t | flags |
byte_t | unused |
representation of IP address (abstracts IPv4 and IPv6)
Definition at line 91 of file wavesock.h.
Definition at line 92 of file wavesock.h.