home *** CD-ROM | disk | FTP | other *** search
/ Internet Standards / CD1.mdf / winsock / winsock.def < prev    next >
Text File  |  1993-01-20  |  3KB  |  85 lines

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