Go to the documentation of this file.
16 #ifndef _RL_UDP_SOCKET_H_
17 #define _RL_UDP_SOCKET_H_
27 #define MSG_NOSIGNAL 0
30 #include <sys/socket.h>
31 #include <netinet/in.h>
32 #include <arpa/inet.h>
45 int setAdr(
const char *adr,
int port);
67 int setSockopt(
int level,
int optname,
void *optval,
int optlen);