WINSOCK.DEF
资源名称:watsock.zip [点击查看]
上传用户:qiye66666
上传日期:2007-01-03
资源大小:202k
文件大小:3k
源码类别:
TCP/IP协议栈
开发平台:
Visual C++
- ;
- ; File: winsock.def
- ; System: MS-Windows 3.x
- ; Summary: Module definition file for Windows Sockets DLL.
- ;
- LIBRARY WINSOCK ; Application's module name
- DESCRIPTION 'BSD Socket API for Windows'
- EXETYPE WINDOWS ; required for all windows applications
- ;CODE can be FIXED in memory because of potential upcalls
- CODE PRELOAD FIXED
- ;DATA must be SINGLE and at a FIXED location since this is a DLL
- DATA PRELOAD FIXED SINGLE
- HEAPSIZE 4096
- STACKSIZE 16384 ;Not necessary, since DLL uses caller's stack
- ; All functions that will be called by any Windows routine
- ; must be exported. Any additional exports beyond those defined
- ; here must have ordinal numbers 1000 or above.
- EXPORTS
- accept @1
- bind @2
- closesocket @3
- connect @4
- getpeername @5
- getsockname @6
- getsockopt @7
- htonl @8
- htons @9
- inet_addr @10
- inet_ntoa @11
- ioctlsocket @12
- listen @13
- ntohl @14
- ntohs @15
- recv @16
- recvfrom @17
- select @18
- send @19
- sendto @20
- setsockopt @21
- shutdown @22
- socket @23
- gethostbyaddr @51
- gethostbyname @52
- getprotobyname @53
- getprotobynumber @54
- getservbyname @55
- getservbyport @56
- gethostname @57
- WSAAsyncSelect @101
- WSAAsyncGetHostByAddr @102
- WSAAsyncGetHostByName @103
- WSAAsyncGetProtoByNumber @104
- WSAAsyncGetProtoByName @105
- WSAAsyncGetServByPort @106
- WSAAsyncGetServByName @107
- WSACancelAsyncRequest @108
- WSASetBlockingHook @109
- WSAUnhookBlockingHook @110
- WSAGetLastError @111
- WSASetLastError @112
- WSACancelBlockingCall @113
- WSAIsBlocking @114
- WSAStartup @115
- WSACleanup @116
- __WSAFDIsSet @151
- WEP @500 RESIDENTNAME
- ;eof