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

TCP/IP协议栈

开发平台:

Visual C++

  1. ;
  2. ;         File: watsock.def
  3. ;       System: MS-Windows 3.x
  4. ;      Summary: Module definition file for Windows Sockets DLL.
  5. ;
  6. LIBRARY         WATSOCK         ; 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       16083          ;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.         wat_closesocket                    @3
  20.         wat_connect                        @4
  21.         wat_htonl                          @8
  22.         wat_htons                          @9
  23.         wat_inet_addr                      @10
  24.         wat_ntohl                          @14
  25.         wat_ntohs                          @15
  26.         wat_receive                        @16
  27.         wat_select                         @18
  28.         wat_send                           @19
  29.         wat_socket                         @23
  30.         wat_gethostbyname                  @52
  31.         wattcp_init                        @53
  32.         wat_test                           @54
  33.         wat_WSACleanup                     @55
  34. ;eof