#include <winsock.h>
Go to the source code of this file.
|
| #define | _INC_WINDOWS |
| |
| #define | INET_ADDRSTRLEN 22 |
| |
| #define | SOCK_CLOSE(a) closesocket(a) |
| |
| #define | SOCK_IOCTL(a, b, c) ioctlsocket(a,b,(unsigned long *)c) |
| |
| #define | SOCK_RECVFROM(a, b, c, d, e, f) recvfrom(a,(char *)b,c,d,e,f) |
| |
| #define | SOCK_SELECT(max, read, write, except, timeout) select(max,read,write,except,timeout) |
| |
| #define | SOCK_SENDTO(a, b, c, d, e, f) sendto(a,(const char *)b,c,d,e,f) |
| |
| #define | socklen_t int |
| |
| static void exitSocket |
( |
| ) |
|
|
inlinestatic |
| static int initSocket |
( |
| ) |
|
|
inlinestatic |