22 #include <sys/types.h> 23 #include <sys/socket.h> 24 #include <sys/ioctl.h> 38 int sock = ::socket(PF_INET,SOCK_DGRAM | SOCK_CLOEXEC, 0);
59 int sock = ::socket(PF_INET6,SOCK_DGRAM | SOCK_CLOEXEC, 0);
ClientSocketHandle< Policy > clientHandle() const
Get client handle for associated socket.
#define SENF_THROW_SYSTEM_EXCEPTION(desc)
bool reuseaddr() const
Return current reuseaddr state.
int fd() const
Get file descriptor.
void init_client() const
Create unconnected client socket.
void init_client() const
Create unconnected client socket.
UDPv4SocketHandle and UDPv6SocketHandle public header.