#include <sys/types.h>
#include <sys/socket.h>
#include <sys/fcntl.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <net/if.h>
#include <netinet/in.h>
#include <ifaddrs.h>
#include "errno.h"
Go to the source code of this file.
#define INVALID_SOCKET (SOCKET)(~0) |
#define WSAEADDRINUSE EADDRINUSE |
#define WSAEALREADY EALREADY |
#define WSAEINPROGRESS EINPROGRESS |
#define WSAEMSGSIZE EMSGSIZE |
#define WSAENOTSOCK EBADF |
#define WSAEWOULDBLOCK EWOULDBLOCK |
#define WSAGetLastError |
( |
| ) |
errno |
int myclosesocket |
( |
SOCKET & |
hSocket | ) |
|
|
inline |