#include <arpa/inet.h>
#include <climits>
#include <ifaddrs.h>
#include <net/if.h>
#include <netdb.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <sys/fcntl.h>
#include <sys/mman.h>
#include <sys/select.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <unistd.h>
#include <cerrno>
Go to the source code of this file.
◆ INVALID_SOCKET
#define INVALID_SOCKET (SOCKET)(~0) |
◆ MAX_PATH
◆ MSG_DONTWAIT
◆ MSG_NOSIGNAL
◆ SOCKET_ERROR
◆ WSAEADDRINUSE
#define WSAEADDRINUSE EADDRINUSE |
◆ WSAEAGAIN
◆ WSAEALREADY
#define WSAEALREADY EALREADY |
◆ WSAEINPROGRESS
#define WSAEINPROGRESS EINPROGRESS |
◆ WSAEINTR
◆ WSAEINVAL
◆ WSAEMSGSIZE
#define WSAEMSGSIZE EMSGSIZE |
◆ WSAENOTSOCK
#define WSAENOTSOCK EBADF |
◆ WSAEWOULDBLOCK
#define WSAEWOULDBLOCK EWOULDBLOCK |
◆ WSAGetLastError
#define WSAGetLastError |
( |
| ) |
errno |
◆ SOCKET
◆ sockopt_arg_type
◆ IsSelectableSocket()
static bool IsSelectableSocket |
( |
const SOCKET & |
s | ) |
|
|
inlinestatic |
◆ strnlen()
size_t strnlen |
( |
const char * |
start, |
|
|
size_t |
max_len |
|
) |
| |