#ifndef EINPROGRESS
#define EINPROGRESS WSAEINPROGRESS
#endif
+#ifndef ENOTCONN
+#define ENOTCONN WSAENOTCONN
+#endif
#define getsockopt(a, b, c, d, e) getsockopt(a, b, c, (char*) d, e)
#define setsockopt(a, b, c, d, e) setsockopt(a, b, c, (const char*) d, e)