WINSOCK.DEF
上传用户:qiye66666
上传日期:2007-01-03
资源大小:202k
文件大小:3k
源码类别:

TCP/IP协议栈

开发平台:

Visual C++

  1. ;
  2. ;         File: winsock.def
  3. ;       System: MS-Windows 3.x
  4. ;      Summary: Module definition file for Windows Sockets DLL.
  5. ;
  6. LIBRARY         WINSOCK         ; Application's module name
  7. DESCRIPTION     'BSD Socket API for Windows'
  8. EXETYPE         WINDOWS         ; required for all windows applications
  9. ;CODE can be FIXED in memory because of potential upcalls
  10. CODE            PRELOAD         FIXED
  11. ;DATA must be SINGLE and at a FIXED location since this is a DLL
  12. DATA            PRELOAD         FIXED           SINGLE
  13. HEAPSIZE        4096
  14. STACKSIZE       16384           ;Not necessary, since DLL uses caller's stack
  15. ; All functions that will be called by any Windows routine
  16. ; must be exported.  Any additional exports beyond those defined
  17. ; here must have ordinal numbers 1000 or above.
  18. EXPORTS
  19.         accept                         @1
  20.         bind                           @2
  21.         closesocket                    @3
  22.         connect                        @4
  23.         getpeername                    @5
  24.         getsockname                    @6
  25.         getsockopt                     @7
  26.         htonl                          @8
  27.         htons                          @9
  28.         inet_addr                      @10
  29.         inet_ntoa                      @11
  30.         ioctlsocket                    @12
  31.         listen                         @13
  32.         ntohl                          @14
  33.         ntohs                          @15
  34.         recv                           @16
  35.         recvfrom                       @17
  36.         select                         @18
  37.         send                           @19
  38.         sendto                         @20
  39.         setsockopt                     @21
  40.         shutdown                       @22
  41.         socket                         @23
  42.         
  43.         gethostbyaddr                  @51
  44.         gethostbyname                  @52
  45.         getprotobyname                 @53
  46.         getprotobynumber               @54
  47.         getservbyname                  @55
  48.         getservbyport                  @56
  49.         gethostname                    @57
  50.         WSAAsyncSelect                 @101
  51.         WSAAsyncGetHostByAddr          @102
  52.         WSAAsyncGetHostByName          @103
  53.         WSAAsyncGetProtoByNumber       @104
  54.         WSAAsyncGetProtoByName         @105
  55.         WSAAsyncGetServByPort          @106
  56.         WSAAsyncGetServByName          @107
  57.         WSACancelAsyncRequest          @108
  58.         WSASetBlockingHook             @109
  59.         WSAUnhookBlockingHook          @110
  60.         WSAGetLastError                @111
  61.         WSASetLastError                @112
  62.         WSACancelBlockingCall          @113
  63.         WSAIsBlocking                  @114
  64.         WSAStartup                     @115
  65.         WSACleanup                     @116
  66.         __WSAFDIsSet                   @151
  67.         WEP                            @500    RESIDENTNAME
  68. ;eof