Go to the documentation of this file.
31 #include <sys/socket.h>
32 #include <netinet/in.h>
33 #include <arpa/inet.h>
115 int read(
void *buf,
int len,
int timeout=0);
126 int readStr(
char *buf,
int len,
int timeout=0);
133 int write(
const void *buf,
int len);
140 int printf(
const char *format, ...);
162 int select(
int timeout=0);
198 static int rlGetsockopt(
int sockfd,
int level,
int optname,
void *optval,
int *optlen);
203 static int rlSetsockopt(
int sockfd,
int level,
int optname,
const void *optval,
int optlen);