#include <arpa/inet.h>
#include <fcntl.h>
#include <ifaddrs.h>
#include <net/if.h>
#include <netdb.h>
#include <netinet/in.h>
#include <netinet/tcp.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) |
◆ MAIN_FUNCTION
#define MAIN_FUNCTION int main(int argc, char* argv[]) |
◆ MAX_PATH
◆ MSG_DONTWAIT
◆ MSG_NOSIGNAL
◆ SOCKET_ERROR
◆ WSAEADDRINUSE
#define WSAEADDRINUSE EADDRINUSE |
◆ WSAEAGAIN
◆ WSAEINPROGRESS
#define WSAEINPROGRESS EINPROGRESS |
◆ WSAEINTR
◆ WSAEINVAL
◆ WSAEMSGSIZE
#define WSAEMSGSIZE EMSGSIZE |
◆ WSAEWOULDBLOCK
#define WSAEWOULDBLOCK EWOULDBLOCK |
◆ WSAGetLastError
#define WSAGetLastError |
( |
| ) |
errno |
◆ SOCKET
◆ sockopt_arg_type