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