#include <sys/fcntl.h>
#include <sys/mman.h>
#include <sys/select.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <net/if.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <arpa/inet.h>
#include <ifaddrs.h>
#include <limits.h>
#include <netdb.h>
#include <unistd.h>
#include <errno.h>
Go to the source code of this file.
|
| size_t | strnlen (const char *start, size_t max_len) |
| |
| #define INVALID_SOCKET (SOCKET)(~0) |
| #define THREAD_PRIORITY_ABOVE_NORMAL (-2) |
| #define THREAD_PRIORITY_BELOW_NORMAL 2 |
| #define THREAD_PRIORITY_NORMAL 0 |
| #define WSAEADDRINUSE EADDRINUSE |
| #define WSAEALREADY EALREADY |
| #define WSAEINPROGRESS EINPROGRESS |
| #define WSAEMSGSIZE EMSGSIZE |
| #define WSAENOTSOCK EBADF |
| #define WSAEWOULDBLOCK EWOULDBLOCK |
| #define WSAGetLastError |
( |
| ) |
errno |
| size_t strnlen |
( |
const char * |
start, |
|
|
size_t |
max_len |
|
) |
| |