1 # Winsock 2 DLL ~ ws2_32.dll
3 # Export table information obtained from Windows 2000 ws2_32.dll
8 1 stdcall accept(long ptr ptr) WS_accept
9 2 stdcall bind(long ptr long) WS_bind
10 3 stdcall closesocket(long) WS_closesocket
11 4 stdcall connect(long ptr long) WS_connect
12 5 stdcall getpeername(long ptr ptr) WS_getpeername
13 6 stdcall getsockname(long ptr ptr) WS_getsockname
14 7 stdcall getsockopt(long long long ptr ptr) WS_getsockopt
15 8 stdcall htonl(long) WS_htonl
16 9 stdcall htons(long) WS_htons
17 10 stdcall ioctlsocket(long long ptr) WS_ioctlsocket
18 11 stdcall inet_addr(str) WS_inet_addr
19 12 stdcall inet_ntoa(ptr) WS_inet_ntoa
20 13 stdcall listen(long long) WS_listen
21 14 stdcall ntohl(long) WS_ntohl
22 15 stdcall ntohs(long) WS_ntohs
23 16 stdcall recv(long ptr long long) WS_recv
24 17 stdcall recvfrom(long ptr long long ptr ptr) WS_recvfrom
25 18 stdcall select(long ptr ptr ptr ptr) WS_select
26 19 stdcall send(long ptr long long) WS_send
27 20 stdcall sendto(long ptr long long ptr long) WS_sendto
28 21 stdcall setsockopt(long long long ptr long) WS_setsockopt
29 22 stdcall shutdown(long long) WS_shutdown
30 23 stdcall socket(long long long) WS_socket
31 24 stdcall WSApSetPostRoutine(ptr) WSApSetPostRoutine
32 25 stub WPUCompleteOverlappedRequest
33 26 stdcall WSAAccept(long ptr ptr ptr long) WSAAccept
34 27 stub WSAAddressToStringA
35 28 stub WSAAddressToStringW
36 29 stdcall WSACloseEvent(long) WSACloseEvent
37 30 stdcall WSAConnect(long ptr long ptr ptr ptr ptr) WSAConnect
38 31 stdcall WSACreateEvent () WSACreateEvent
39 32 stdcall WSADuplicateSocketA(long long ptr) WSADuplicateSocketA
40 33 stub WSADuplicateSocketW
41 34 stub WSAEnumNameSpaceProvidersA
42 35 stub WSAEnumNameSpaceProvidersW
43 36 stdcall WSAEnumNetworkEvents(long long ptr) WSAEnumNetworkEvents
44 37 stdcall WSAEnumProtocolsA(ptr ptr ptr) WSAEnumProtocolsA
45 38 stdcall WSAEnumProtocolsW(ptr ptr ptr) WSAEnumProtocolsW
46 39 stdcall WSAEventSelect(long long long) WSAEventSelect
47 40 stdcall WSAGetOverlappedResult(long ptr ptr long ptr) WSAGetOverlappedResult
48 41 stub WSAGetQOSByName
49 42 stub WSAGetServiceClassInfoA
50 43 stub WSAGetServiceClassInfoW
51 44 stub WSAGetServiceClassNameByClassIdA
52 45 stub WSAGetServiceClassNameByClassIdW
55 48 stub WSAInstallServiceClassA
56 49 stub WSAInstallServiceClassW
57 50 stdcall WSAIoctl(long long ptr long ptr long ptr ptr ptr) WSAIoctl
58 51 stdcall gethostbyaddr(ptr long long) WS_gethostbyaddr
59 52 stdcall gethostbyname(str) WS_gethostbyname
60 53 stdcall getprotobyname(str) WS_getprotobyname
61 54 stdcall getprotobynumber(long) WS_getprotobynumber
62 55 stdcall getservbyname(str str) WS_getservbyname
63 56 stdcall getservbyport(long str) WS_getservbyport
64 57 stdcall -noimport gethostname(ptr long) WS_gethostname
66 59 stub WSALookupServiceBeginA
67 60 stub WSALookupServiceBeginW
68 61 stub WSALookupServiceEnd
69 62 stub WSALookupServiceNextA
70 63 stub WSALookupServiceNextW
73 66 stub WSAProviderConfigChange
74 67 stdcall WSARecv(long ptr long ptr ptr ptr ptr) WSARecv
75 68 stub WSARecvDisconnect
76 69 stdcall WSARecvFrom(long ptr long ptr ptr ptr ptr ptr ptr ) WSARecvFrom
77 70 stub WSARemoveServiceClass
78 71 forward WSAResetEvent KERNEL32.ResetEvent
79 72 stdcall WSASend(long ptr long ptr long ptr ptr) WSASend
80 73 stdcall WSASendDisconnect(long ptr) WSASendDisconnect
81 74 stdcall WSASendTo(long ptr long ptr long ptr long ptr ptr) WSASendTo
83 76 stub WSASetServiceA
84 77 stub WSASetServiceW
85 78 stdcall WSASocketA(long long long ptr long long) WSASocketA
87 80 stub WSAStringToAddressA
88 81 stub WSAStringToAddressW
89 82 forward WSAWaitForMultipleEvents KERNEL32.WaitForMultipleObjectsEx
90 83 stdcall WSCDeinstallProvider(ptr ptr) WSCDeinstallProvider
91 84 stub WSCEnableNSProvider
92 85 stub WSCEnumProtocols
93 86 stub WSCGetProviderPath
94 87 stub WSCInstallNameSpace
95 88 stdcall WSCInstallProvider(ptr wstr ptr long ptr) WSCInstallProvider
96 89 stub WSCUnInstallNameSpace
97 90 stub WSCWriteNameSpaceOrder
98 91 stub WSCWriteProviderOrder
102 101 stdcall WSAAsyncSelect(long long long long) WSAAsyncSelect
103 102 stdcall WSAAsyncGetHostByAddr(long long ptr long long ptr long) WSAAsyncGetHostByAddr
104 103 stdcall WSAAsyncGetHostByName(long long str ptr long) WSAAsyncGetHostByName
105 104 stdcall WSAAsyncGetProtoByNumber(long long long ptr long) WSAAsyncGetProtoByNumber
106 105 stdcall WSAAsyncGetProtoByName(long long str ptr long) WSAAsyncGetProtoByName
107 106 stdcall WSAAsyncGetServByPort(long long long str ptr long) WSAAsyncGetServByPort
108 107 stdcall WSAAsyncGetServByName(long long str str ptr long) WSAAsyncGetServByName
109 108 stdcall WSACancelAsyncRequest(long) WSACancelAsyncRequest
110 109 stdcall WSASetBlockingHook(ptr) WSASetBlockingHook
111 110 stdcall WSAUnhookBlockingHook() WSAUnhookBlockingHook
112 111 stdcall WSAGetLastError() WSAGetLastError
113 112 stdcall WSASetLastError(long) WSASetLastError
114 113 stdcall WSACancelBlockingCall() WSACancelBlockingCall
115 114 stdcall WSAIsBlocking() WSAIsBlocking
116 115 stdcall WSAStartup(long ptr) WSAStartup
117 116 stdcall WSACleanup() WSACleanup
121 151 stdcall __WSAFDIsSet(long ptr) __WSAFDIsSet