#include <socketaddress.h>
Public Types | |
typedef sockaddr_storage | Storage |
Public Member Functions | |
SocketAddress (struct sockaddr *sa) | |
SocketAddress (Address *addr, uint16_t port) | |
int | getAddressFamily () |
struct sockaddr * | getRawSockAddr () |
int | getRawSockAddrLen () |
std::string | toString () |
Address * | getAddress () |
Definition at line 16 of file socketaddress.h.
n2nc::net::SocketAddress::SocketAddress | ( | struct sockaddr * | sa | ) |
Creates a new SocketAddress represented by sockaddr sa
Definition at line 12 of file socketaddress.cpp.