86 lines
2.8 KiB
Plaintext
86 lines
2.8 KiB
Plaintext
|
|
||
|
; WSOCK32 API calls
|
||
|
|
||
|
import wsock32,\
|
||
|
AcceptEx,'AcceptEx',\
|
||
|
EnumProtocolsA,'EnumProtocolsA',\
|
||
|
EnumProtocolsW,'EnumProtocolsW',\
|
||
|
GetAcceptExSockaddrs,'GetAcceptExSockaddrs',\
|
||
|
GetAddressByNameA,'GetAddressByNameA',\
|
||
|
GetAddressByNameW,'GetAddressByNameW',\
|
||
|
GetNameByTypeA,'GetNameByTypeA',\
|
||
|
GetNameByTypeW,'GetNameByTypeW',\
|
||
|
GetServiceA,'GetServiceA',\
|
||
|
GetServiceW,'GetServiceW',\
|
||
|
GetTypeByNameA,'GetTypeByNameA',\
|
||
|
GetTypeByNameW,'GetTypeByNameW',\
|
||
|
MigrateWinsockConfiguration,'MigrateWinsockConfiguration',\
|
||
|
NPLoadNameSpaces,'NPLoadNameSpaces',\
|
||
|
SetServiceA,'SetServiceA',\
|
||
|
SetServiceW,'SetServiceW',\
|
||
|
TransmitFile,'TransmitFile',\
|
||
|
WEP,'WEP',\
|
||
|
WSAAsyncGetHostByAddr,'WSAAsyncGetHostByAddr',\
|
||
|
WSAAsyncGetHostByName,'WSAAsyncGetHostByName',\
|
||
|
WSAAsyncGetProtoByName,'WSAAsyncGetProtoByName',\
|
||
|
WSAAsyncGetProtoByNumber,'WSAAsyncGetProtoByNumber',\
|
||
|
WSAAsyncGetServByName,'WSAAsyncGetServByName',\
|
||
|
WSAAsyncGetServByPort,'WSAAsyncGetServByPort',\
|
||
|
WSAAsyncSelect,'WSAAsyncSelect',\
|
||
|
WSACancelAsyncRequest,'WSACancelAsyncRequest',\
|
||
|
WSACancelBlockingCall,'WSACancelBlockingCall',\
|
||
|
WSACleanup,'WSACleanup',\
|
||
|
WSAGetLastError,'WSAGetLastError',\
|
||
|
WSAIsBlocking,'WSAIsBlocking',\
|
||
|
WSARecvEx,'WSARecvEx',\
|
||
|
WSASetBlockingHook,'WSASetBlockingHook',\
|
||
|
WSASetLastError,'WSASetLastError',\
|
||
|
WSAStartup,'WSAStartup',\
|
||
|
WSAUnhookBlockingHook,'WSAUnhookBlockingHook',\
|
||
|
__WSAFDIsSet,'__WSAFDIsSet',\
|
||
|
accept,'accept',\
|
||
|
bind,'bind',\
|
||
|
closesocket,'closesocket',\
|
||
|
connect,'connect',\
|
||
|
dn_expand,'dn_expand',\
|
||
|
gethostbyaddr,'gethostbyaddr',\
|
||
|
gethostbyname,'gethostbyname',\
|
||
|
gethostname,'gethostname',\
|
||
|
getnetbyname,'getnetbyname',\
|
||
|
getpeername,'getpeername',\
|
||
|
getprotobyname,'getprotobyname',\
|
||
|
getprotobynumber,'getprotobynumber',\
|
||
|
getservbyname,'getservbyname',\
|
||
|
getservbyport,'getservbyport',\
|
||
|
getsockname,'getsockname',\
|
||
|
getsockopt,'getsockopt',\
|
||
|
htonl,'htonl',\
|
||
|
htons,'htons',\
|
||
|
inet_addr,'inet_addr',\
|
||
|
inet_network,'inet_network',\
|
||
|
inet_ntoa,'inet_ntoa',\
|
||
|
ioctlsocket,'ioctlsocket',\
|
||
|
listen,'listen',\
|
||
|
ntohl,'ntohl',\
|
||
|
ntohs,'ntohs',\
|
||
|
rcmd,'rcmd',\
|
||
|
recv,'recv',\
|
||
|
recvfrom,'recvfrom',\
|
||
|
rexec,'rexec',\
|
||
|
rresvport,'rresvport',\
|
||
|
s_perror,'s_perror',\
|
||
|
select,'select',\
|
||
|
send,'send',\
|
||
|
sendto,'sendto',\
|
||
|
sethostname,'sethostname',\
|
||
|
setsockopt,'setsockopt',\
|
||
|
shutdown,'shutdown',\
|
||
|
socket,'socket'
|
||
|
|
||
|
api EnumProtocols,\
|
||
|
GetAddressByName,\
|
||
|
GetNameByType,\
|
||
|
GetService,\
|
||
|
GetTypeByName,\
|
||
|
SetService
|