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