holds the IP address and port of a remote host More...
#include <wavesock.h>
Public Member Functions | |
address_t (IN const char *server, IN int remotePort) throw () | |
address_t (void) throw () | |
void | clear (void) throw () |
bool | isValid (void) const throw () |
bool | operator== (IN const address_t &rhs) const throw () |
bool | operator!= (IN const address_t &rhs) const throw () |
bool | set (IN const char *server, IN int remotePort) |
set the IP and port. Returns false if server name doesn't resolve | |
bool | setlocal (IN int remotePort) |
set to local host (picks first non-loopback address) | |
void | dump (IN const char *msg) const throw () |
Public Attributes | |
ip_addr_t | ip |
int | port |
holds the IP address and port of a remote host
Definition at line 177 of file wavesock.h.
netlib::address_t::address_t | ( | IN const char * | server, | |
IN int | remotePort | |||
) | throw () [inline] |
Definition at line 179 of file wavesock.h.