4 #define __stdcall __attribute__((stdcall))
8 #define WS_FD_READ (1 << FD_READ_BIT)
10 #define WS_FD_WRITE (1 << FD_WRITE_BIT)
12 #define WS_FD_OOB (1 << FD_OOB_BIT)
13 #define FD_ACCEPT_BIT 3
14 #define WS_FD_ACCEPT (1 << FD_ACCEPT_BIT)
15 #define FD_CONNECT_BIT 4
16 #define WS_FD_CONNECT (1 << FD_CONNECT_BIT)
17 #define FD_CLOSE_BIT 5
18 #define WS_FD_CLOSE (1 << FD_CLOSE_BIT)
20 #define WSABASEERR 10000