- Timestamp:
- Dec 2, 1999, 8:47:27 AM (26 years ago)
- Location:
- trunk/src/wsock32/new
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wsock32/new/makefile
r1908 r1933 1 # $Id: makefile,v 1. 5 1999-12-01 01:10:54phaller Exp $1 # $Id: makefile,v 1.6 1999-12-02 07:47:26 phaller Exp $ 2 2 3 3 # … … 28 28 $(TARGET).dll: $(OBJS) $(TARGET).def 29 29 $(LD) $(LDFLAGS) -Fm -Fe$@ $(OBJS) $(TARGET).def \ 30 dapwsock.lib $(PDWIN32_LIB)\kernel32.lib \30 pmwsock.lib $(PDWIN32_LIB)\kernel32.lib \ 31 31 $(PDWIN32_LIB)\user32.lib \ 32 32 $(PDWIN32_LIB)/odincrt.lib OS2386.LIB $(RTLLIB_O) -
trunk/src/wsock32/new/relaywin.cpp
r1930 r1933 1 /* $Id: relaywin.cpp,v 1. 2 1999-12-01 20:29:39phaller Exp $ */1 /* $Id: relaywin.cpp,v 1.3 1999-12-02 07:47:26 phaller Exp $ */ 2 2 3 3 /* … … 159 159 (ulID >= MAX_ASYNC_SOCKETS) ) 160 160 return NULL; // error 161 162 return (&arrHwndMsgPair[ulID]); 163 } 164 165 166 /***************************************************************************** 167 * Name : 168 * Purpose : 169 * Parameters: 170 * Variables : 171 * Result : 172 * Remark : 173 * Status : 174 * 175 * Author : Patrick Haller [Tue, 1999/11/30 23:00] 176 *****************************************************************************/ 177 178 MRESULT RelayWindowProc(HWND hwnd, 179 ULONG ulMsg, 180 MPARAM mp1, 181 MPARAM mp2) 161 162 if (arrHwndMsgPair[ulID].hwnd == 0) 163 return NULL; // error, free entry 164 else 165 return (&arrHwndMsgPair[ulID]); 166 } 167 168 169 /***************************************************************************** 170 * Name : 171 * Purpose : 172 * Parameters: 173 * Variables : 174 * Result : 175 * Remark : 176 * Status : 177 * 178 * Author : Patrick Haller [Tue, 1999/11/30 23:00] 179 *****************************************************************************/ 180 181 MRESULT EXPENTRY RelayWindowProc(HWND hwnd, 182 ULONG ulMsg, 183 MPARAM mp1, 184 MPARAM mp2) 182 185 { 183 186 PHWNDMSGPAIR pHM; -
trunk/src/wsock32/new/relaywin.h
r1908 r1933 1 /* $Id: relaywin.h,v 1. 1 1999-12-01 01:12:54phaller Exp $ */1 /* $Id: relaywin.h,v 1.2 1999-12-02 07:47:26 phaller Exp $ */ 2 2 3 3 /* … … 50 50 ULONG RelayFreeByHwnd(HWND hwnd); 51 51 PHWNDMSGPAIR RelayQuery (ULONG ulID); 52 MRESULT 52 MRESULT EXPENTRY RelayWindowProc(HWND hwnd, ULONG ulMsg, MPARAM mp1, MPARAM mp2); 53 53 HWND RelayInitialize(HWND hwndPost); 54 54 BOOL RelayTerminate (HWND hwndRelay); -
trunk/src/wsock32/new/wsock32.cpp
r1908 r1933 1 /* $Id: wsock32.cpp,v 1. 6 1999-12-01 01:10:55phaller Exp $ */1 /* $Id: wsock32.cpp,v 1.7 1999-12-02 07:47:26 phaller Exp $ */ 2 2 3 3 /* … … 1343 1343 { 1344 1344 int rc; 1345 int iError;1345 // int iError; 1346 1346 HWND hwndOS2 = Win32ToOS2Handle(hWnd); 1347 1347 ULONG ulNewID; … … 1385 1385 lEvent); 1386 1386 1387 iError = WSAGetLastError();1388 dprintf(("res=%d, err=%d\n",1389 rc,1390 iError));1387 // iError = WSAGetLastError(); 1388 // dprintf(("res=%d, err=%d\n", 1389 // rc, 1390 // iError)); 1391 1391 return (rc); 1392 1392 } -
trunk/src/wsock32/new/wsock32.def
r1807 r1933 1 ; $Id: wsock32.def,v 1. 1 1999-11-22 08:18:04phaller Exp $1 ; $Id: wsock32.def,v 1.2 1999-12-02 07:47:27 phaller Exp $ 2 2 3 3 ;Created by BLAST for IBM's compiler … … 5 5 DATA MULTIPLE NONSHARED 6 6 7 IMPORTS8 PostMessageA = USER32.4169 bsd_select = SO32DLL.3210 os2_select = SO32DLL.1211 7 12 8 EXPORTS 13 ; Arecv = _OS2Arecv14 ; Asend = _OS2Asend15 ; EnumProtocolsA = _OS2EnumProtocolsA16 ; EnumProtocolsW = _OS2EnumProtocolsW17 ; GetAddressByNameA = _OS2GetAddressByNameA18 ; GetAddressByNameW = _OS2GetAddressByNameW19 ; GetNameByTypeA = _OS2GetNameByTypeA20 ; GetNameByTypeW = _OS2GetNameByTypeW21 ; GetServiceA = _OS2GetServiceA22 ; GetServiceW = _OS2GetServiceW23 ; GetTypeByNameA = _OS2GetTypeByNameA24 ; GetTypeByNameW = _OS2GetTypeByNameW25 ; NPLoadNameSpaces = _OS2NPLoadNameSpaces26 ; SetServiceA = _OS2SetServiceA27 ; SetServiceW = _OS2SetServiceW28 ; TransmitFile = _OS2TransmitFile29 accept = _OS2accept@12 @130 bind = _OS2bind@12 @231 closesocket = _OS2closesocket@4 @332 connect = _OS2connect@12 @433 getpeername = _OS2getpeername@12 @534 getsockname = _OS2getsockname@12 @635 getsockopt = _OS2getsockopt@20 @736 htonl = _OS2htonl@4 @837 htons = _OS2htons@4 @938 inet_addr = _OS2inet_addr@4 @1039 inet_ntoa = _OS2inet_ntoa@4 @1140 ioctlsocket = _OS2ioctlsocket@12 @1241 listen = _OS2listen@8 @1342 ntohl = _OS2ntohl@4 @1443 ntohs = _OS2ntohs@4 @1544 recv = _OS2recv@16 @1645 recvfrom = _OS2recvfrom@24 @1746 select = _OS2select@20 @1847 send = _OS2send@16 @1948 sendto = _OS2sendto@24 @2049 setsockopt = _OS2setsockopt@20 @2150 shutdown = _OS2shutdown@8 @2251 socket = _OS2socket@12 @2352 9 53 gethostbyaddr = _OS2gethostbyaddr@12 @51 54 gethostbyname = _OS2gethostbyname@4 @52 55 getprotobyname = _OS2getprotobyname@4 @53 56 getprotobynumber = _OS2getprotobynumber@4 @54 57 getservbyname = _OS2getservbyname@8 @55 58 getservbyport = _OS2getservbyport@8 @56 59 gethostname = _OS2gethostname@8 @57 10 ; ---------------------- 11 ; BSD Standard Functions 12 ; ---------------------- 13 14 accept = _OS2accept@12 @1 15 bind = _OS2bind@12 @2 16 closesocket = _OS2closesocket@4 @3 17 connect = _OS2connect@12 @4 18 getpeername = _OS2getpeername@12 @5 19 getsockname = _OS2getsockname@12 @6 20 getsockopt = _OS2getsockopt@20 @7 21 htonl = _OS2htonl@4 @8 22 htons = _OS2htons@4 @9 23 inet_addr = _OS2inet_addr@4 @10 24 inet_ntoa = _OS2inet_ntoa@4 @11 25 ioctlsocket = _OS2ioctlsocket@12 @12 26 listen = _OS2listen@8 @13 27 ntohl = _OS2ntohl@4 @14 28 ntohs = _OS2ntohs@4 @15 29 recv = _OS2recv@16 @16 30 recvfrom = _OS2recvfrom@24 @17 31 select = _OS2select@20 @18 32 send = _OS2send@16 @19 33 sendto = _OS2sendto@24 @20 34 setsockopt = _OS2setsockopt@20 @21 35 shutdown = _OS2shutdown@8 @22 36 socket = _OS2socket@12 @23 37 38 gethostbyaddr = _OS2gethostbyaddr@12 @51 39 gethostbyname = _OS2gethostbyname@4 @52 40 getprotobyname = _OS2getprotobyname@4 @53 41 getprotobynumber = _OS2getprotobynumber@4 @54 42 getservbyname = _OS2getservbyname@8 @55 43 getservbyport = _OS2getservbyport@8 @56 44 gethostname = _OS2gethostname@8 @57 45 46 ; ---------------------------- 47 ; Microsoft WinSock Extensions 48 ; ---------------------------- 60 49 61 50 WSAAsyncSelect = _OS2WSAAsyncSelect@16 @101 62 63 51 WSAAsyncGetHostByAddr = _OS2WSAAsyncGetHostByAddr@28 @102 64 52 WSAAsyncGetHostByName = _OS2WSAAsyncGetHostByName@20 @103 … … 68 56 WSAAsyncGetServByName = _OS2WSAAsyncGetServByName@24 @107 69 57 WSACancelAsyncRequest = _OS2WSACancelAsyncRequest@4 @108 58 WSASetBlockingHook = _OS2WSASetBlockingHook@4 @109 59 WSAUnhookBlockingHook = _OS2WSAUnhookBlockingHook@0 @110 60 WSAGetLastError = _OS2WSAGetLastError@0 @111 61 WSASetLastError = _OS2WSASetLastError@4 @112 62 WSACancelBlockingCall = _OS2WSACancelBlockingCall@0 @113 63 WSAIsBlocking = _OS2WSAIsBlocking@0 @114 64 WSAStartup = _OS2WSAStartup@8 @115 65 WSACleanup = _OS2WSACleanup@0 @116 66 __WSAFDIsSet = _OS2__WSAFDIsSet@8 @151 70 67 71 WSASetBlockingHook = _OS2WSASetBlockingHook@4 @109 72 WSAUnhookBlockingHook = _OS2WSAUnhookBlockingHook@0 @110 73 WSAGetLastError = _OS2WSAGetLastError@0 @111 74 WSASetLastError = _OS2WSASetLastError@4 @112 75 WSACancelBlockingCall = _OS2WSACancelBlockingCall@0 @113 68 rcmd = _OS2rcmd@24 @1102 69 rexec = _OS2rexec@24 @1103 70 WSARecvEx = _OS2WSARecvEx@16 @1107 71 s_perror = _OS2s_perror@8 @1108 76 72 77 WSAIsBlocking = _OS2WSAIsBlocking@0 @114 73 ; ------------------- 74 ; not yet implemented 75 ; ------------------- 78 76 79 WSAStartup = _OS2WSAStartup@8 @115 80 WSACleanup = _OS2WSACleanup@0 @116 77 ; WsControl = _OS2WsControl @1000 78 ; closesockinfo = _OS2closesockinfo @1001 79 ; WSHEnumProtocols = _OS2WSHEnumProtocols @1004 80 ; inet_network = _OS2inet_network @1100 81 ; getnetbyname = _OS2getnetbyname @1101 82 ; rresvport = _OS2rresvport @1104 83 ; sethostname = _OS2sethostname @1105 84 ; dn_expand = _OS2dn_expand @1106 85 ; Arecv = _OS2Arecv 86 ; Asend = _OS2Asend 87 ; EnumProtocolsA = _OS2EnumProtocolsA 88 ; EnumProtocolsW = _OS2EnumProtocolsW 89 ; GetAddressByNameA = _OS2GetAddressByNameA 90 ; GetAddressByNameW = _OS2GetAddressByNameW 91 ; GetNameByTypeA = _OS2GetNameByTypeA 92 ; GetNameByTypeW = _OS2GetNameByTypeW 93 ; GetServiceA = _OS2GetServiceA 94 ; GetServiceW = _OS2GetServiceW 95 ; GetTypeByNameA = _OS2GetTypeByNameA 96 ; GetTypeByNameW = _OS2GetTypeByNameW 97 ; NPLoadNameSpaces = _OS2NPLoadNameSpaces 98 ; SetServiceA = _OS2SetServiceA 99 ; SetServiceW = _OS2SetServiceW 100 ; TransmitFile = _OS2TransmitFile 81 101 82 __WSAFDIsSet = _OS2__WSAFDIsSet@8 @151 102 ; ----------------------- 103 ; ODIN internal functions 104 ; ----------------------- 83 105 84 ; WsControl = _OS2WsControl @1000 85 ; closesockinfo = _OS2closesockinfo @1001 86 ; WSHEnumProtocols = _OS2WSHEnumProtocols @1004 87 ; inet_network = _OS2inet_network @1100 88 ; getnetbyname = _OS2getnetbyname @1101 89 rcmd = _OS2rcmd@24 @1102 90 rexec = _OS2rexec@24 @1103 91 ; rresvport = _OS2rresvport @1104 92 ; sethostname = _OS2sethostname @1105 93 ; dn_expand = _OS2dn_expand @1106 94 WSARecvEx = _OS2WSARecvEx@16 @1107 95 s_perror = _OS2s_perror@8 @1108 96 97 _OS2gethostname@8 @2000 106 _OS2gethostname@8 @2000
Note:
See TracChangeset
for help on using the changeset viewer.