/* Taken from the WIN32 stuff above. */ #include #define EWOULDBLOCK WSAEWOULDBLOCK #define EINPROGRESS WSAEINPROGRESS #define ECONNREFUSED WSAECONNREFUSED #define ETIMEDOUT WSAETIMEDOUT #define ENETUNREACH WSAENETUNREACH #define EHOSTUNREACH WSAEHOSTUNREACH #define EHOSTDOWN WSAEHOSTDOWN #define EISCONN WSAEISCONN #define EINVAL WSAEINVAL #define ECONNRESET WSAECONNRESET #define ENETRESET WSAENETRESET #define ESHUTDOWN WSAESHUTDOWN #define ECONNABORTED WSAECONNABORTED