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 stdcall WPUCompleteOverlappedRequest
(long ptr long long ptr
)
30 26 stdcall WSAAccept
(long ptr ptr ptr long
)
31 27 stdcall WSAAddressToStringA
(ptr long ptr ptr ptr
)
32 28 stdcall WSAAddressToStringW
(ptr long ptr ptr ptr
)
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 stdcall WSADuplicateSocketW
(long long ptr
)
38 34 stdcall WSAEnumNameSpaceProvidersA
(ptr ptr
)
39 35 stdcall WSAEnumNameSpaceProvidersW
(ptr ptr
)
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 stdcall WSAGetQOSByName
(long ptr ptr
)
46 42 stdcall WSAGetServiceClassInfoA
(ptr ptr ptr ptr
)
47 43 stdcall WSAGetServiceClassInfoW
(ptr ptr ptr ptr
)
48 44 stdcall WSAGetServiceClassNameByClassIdA
(ptr ptr ptr
)
49 45 stdcall WSAGetServiceClassNameByClassIdW
(ptr ptr ptr
)
50 46 stdcall WSAHtonl
(long long ptr
)
51 47 stdcall WSAHtons
(long long ptr
)
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
62 58 stdcall WSAJoinLeaf
(long ptr long ptr ptr ptr ptr long
)
63 59 stdcall WSALookupServiceBeginA
(ptr long ptr
)
64 60 stdcall WSALookupServiceBeginW
(ptr long ptr
)
65 61 stdcall WSALookupServiceEnd
(long
)
66 62 stdcall WSALookupServiceNextA
(long long ptr ptr
)
67 63 stdcall WSALookupServiceNextW
(long long ptr ptr
)
68 64 stdcall WSANtohl
(long long ptr
)
69 65 stdcall WSANtohs
(long long ptr
)
70 66 stdcall WSAProviderConfigChange
(ptr ptr ptr
)
71 67 stdcall WSARecv
(long ptr long ptr ptr ptr ptr
)
72 68 stdcall WSARecvDisconnect
(long ptr
)
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 stdcall WSASetServiceA
(ptr long long
)
81 77 stdcall WSASetServiceW
(ptr long long
)
82 78 stdcall WSASocketA
(long long long ptr long long
)
83 79 stdcall WSASocketW
(long long long ptr long long
)
84 80 stdcall WSAStringToAddressA
(str long ptr ptr ptr
)
85 81 stdcall WSAStringToAddressW
(wstr long ptr ptr ptr
)
86 82 stdcall WSAWaitForMultipleEvents
(long ptr long long long
) kernel32.WaitForMultipleObjectsEx
87 83 stdcall WSCDeinstallProvider
(ptr ptr
)
88 84 stdcall WSCEnableNSProvider
(ptr long
)
89 85 stdcall WSCEnumProtocols
(ptr ptr ptr ptr
)
90 86 stdcall WSCGetProviderPath
(ptr ptr ptr ptr
)
91 87 stdcall WSCInstallNameSpace
(wstr wstr long long ptr
)
92 88 stdcall WSCInstallProvider
(ptr wstr ptr long ptr
)
93 89 stdcall WSCUnInstallNameSpace
(ptr
)
94 90 stub WSCWriteNameSpaceOrder
95 91 stdcall WSCWriteProviderOrder
(ptr long
)
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
)