|
@ -6,7 +6,7 @@ |
|
|
#define _USE_W32_SOCKETS 1 |
|
|
#define _USE_W32_SOCKETS 1 |
|
|
#include <windows.h> |
|
|
#include <windows.h> |
|
|
#include <pthread.h> |
|
|
#include <pthread.h> |
|
|
/*
|
|
|
|
|
|
#define ENOTCONN WSAENOTCONN |
|
|
#define ENOTCONN WSAENOTCONN |
|
|
#define EWOULDBLOCK WSAEWOULDBLOCK |
|
|
#define EWOULDBLOCK WSAEWOULDBLOCK |
|
|
#define ENOBUFS WSAENOBUFS |
|
|
#define ENOBUFS WSAENOBUFS |
|
@ -18,7 +18,7 @@ |
|
|
#define EISCONN WSAEISCONN |
|
|
#define EISCONN WSAEISCONN |
|
|
#define ECONNREFUSED WSAECONNREFUSED |
|
|
#define ECONNREFUSED WSAECONNREFUSED |
|
|
#define EHOSTUNREACH WSAEHOSTUNREACH |
|
|
#define EHOSTUNREACH WSAEHOSTUNREACH |
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
/* winsock doesn't feature poll(), so there is a version implemented
|
|
|
/* winsock doesn't feature poll(), so there is a version implemented
|
|
|
* in terms of select() in mingw.c. The following definitions |
|
|
* in terms of select() in mingw.c. The following definitions |
|
|