mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
1.9 KiB
53 lines
1.9 KiB
extern DLLENTRYPOINTS wsockapis[];
|
|
|
|
#define WOW_WSOCKAPI_COUNT 49
|
|
|
|
#define WOW_ACCEPT 0
|
|
#define WOW_BIND 1
|
|
#define WOW_CLOSESOCKET 2
|
|
#define WOW_CONNECT 3
|
|
#define WOW_GETPEERNAME 4
|
|
#define WOW_GETSOCKNAME 5
|
|
#define WOW_GETSOCKOPT 6
|
|
#define WOW_HTONL 7
|
|
#define WOW_HTONS 8
|
|
#define WOW_INET_ADDR 9
|
|
#define WOW_INET_NTOA 10
|
|
#define WOW_IOCTLSOCKET 11
|
|
#define WOW_LISTEN 12
|
|
#define WOW_NTOHL 13
|
|
#define WOW_NTOHS 14
|
|
#define WOW_RECV 15
|
|
#define WOW_RECVFROM 16
|
|
#define WOW_SELECT 17
|
|
#define WOW_SEND 18
|
|
#define WOW_SENDTO 19
|
|
#define WOW_SETSOCKOPT 20
|
|
#define WOW_SHUTDOWN 21
|
|
#define WOW_SOCKET 22
|
|
#define WOW_GETHOSTBYADDR 23
|
|
#define WOW_GETHOSTBYNAME 24
|
|
#define WOW_GETPROTOBYNAME 25
|
|
#define WOW_GETPROTOBYNUMBER 26
|
|
#define WOW_GETSERVBYNAME 27
|
|
#define WOW_GETSERVBYPORT 28
|
|
#define WOW_GETHOSTNAME 29
|
|
#define WOW_WSAASYNCSELECT 30
|
|
#define WOW_WSAASYNCGETHOSTBYADDR 31
|
|
#define WOW_WSAASYNCGETHOSTBYNAME 32
|
|
#define WOW_WSAASYNCGETPROTOBYNUMBER 33
|
|
#define WOW_WSAASYNCGETPROTOBYNAME 34
|
|
#define WOW_WSAASYNCGETSERVBYPORT 35
|
|
#define WOW_WSAASYNCGETSERVBYNAME 36
|
|
#define WOW_WSACANCELASYNCREQUEST 37
|
|
#define WOW_WSASETBLOCKINGHOOK 38
|
|
#define WOW_WSAUNBLOCKINGHOOK 39
|
|
#define WOW_WSAGETLASTERROR 40
|
|
#define WOW_WSASETLASTERROR 41
|
|
#define WOW_WSACANCELBLOCKINGCALL 42
|
|
#define WOW_WSAISBLOCKING 43
|
|
#define WOW_WSASTARTUP 44
|
|
#define WOW_WSACLEANUP 45
|
|
#define WOW_WSAFDISSET 46
|
|
#define WOW_WSAPSETPOSTROUTINE 47
|
|
#define WOW_WSARECVEX 48
|