blob: cada779858748676ff647828d27e569e538d97f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
|
;
; File: winsock.def
; System: MS-Windows 3.x
; Summary: Module definition file for Windows Sockets DLL.
;
; This file is from
; ftp://sunsite.unc.edu/pub/micro/pc-stuff/ms-windows/winsock/winsock-1.1
; except that we made all the routine names uppercase, to match what
; MicroSoft C does when you declare an interface routine PASCAL
; (the way all these routines are declared in .../include/winsock.h).
;
LIBRARY WINSOCK ; Application's module name
DESCRIPTION 'BSD Socket API for Windows'
EXETYPE WINDOWS ; required for all windows applications
STUB 'WINSTUB.EXE' ; generates error message if application
; is run without Windows
;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 1024
STACKSIZE 16384
; 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
|