1
0
mirror of https://github.com/solemnwarning/ipxwrapper synced 2024-12-30 16:45:37 +01:00

121 Commits

Author SHA1 Message Date
Daniel Collins
9c68c53421 Initialise common controls. 2011-09-12 17:59:56 +00:00
Daniel Collins
a40d3da084 Updated getsockopt to call get_interfaces for each IPX_ADDRESS/IPX_MAX_ADAPTER_NUM call.
Deleted global interface list.

Set ipxwrapper.dll EnumProtocolsA/EnumProtocolsW stubs to load from wsock32.dll as they don't exist in ws2_32.dll.
2011-09-11 17:09:57 +00:00
Daniel Collins
9ac1da252a Store IP address and netmask in router_addr structure and check each packet originates from the bound interface rather than testing against all IPX interfaces. 2011-09-11 16:58:04 +00:00
Daniel Collins
3455ee040b Fixed deadlocking bug in DirectPlay provider 2011-09-11 15:31:02 +00:00
Daniel Collins
e91121bf02 Bugfix: router_bind() didn't set ->next properly, lost any existing binds. 2011-09-11 14:38:12 +00:00
Daniel Collins
b888762538 Rewrote DLL loading code to avoid corrupting the system error code. 2011-09-11 13:28:41 +00:00
Daniel Collins
ee30a6200f Some bugfixes in the DirectPlay service provider code. 2011-09-11 12:03:38 +00:00
Daniel Collins
616859cc13 Treat connection reset in router code as proper disconnect. 2011-09-10 11:46:09 +00:00
Daniel Collins
b8c366a5ed Code cleanup 2011-09-09 22:29:38 +00:00
Daniel Collins
5b77e23815 Bugfixes and cleanup in router code. 2011-09-09 22:10:32 +00:00
Daniel Collins
f1a6cf40a2 Bugfix: Setup socket for sending packets with new router code properly. 2011-09-09 19:03:19 +00:00
Daniel Collins
8e06150325 Completed changes to allow for separate router processes. 2011-09-09 18:36:52 +00:00
Daniel Collins
11af1ba5d5 Added call handling to router code 2011-09-09 17:38:57 +00:00
Daniel Collins
6d6ac5f2c3 Listen for and accept/close client connections in router code. 2011-09-09 15:50:55 +00:00
Daniel Collins
8928ae23cc Missed a line in last commit. 2011-09-09 00:59:16 +00:00
Daniel Collins
6f4bfb78f5 Updated Makefile to build with debug symbols when DEBUG is set, strip otherwise. 2011-09-09 00:56:25 +00:00
Daniel Collins
8e5b68ab49 Fixed typo, tried to use NULL pointer. 2011-09-09 00:45:16 +00:00
Daniel Collins
81ebe2191d Added standalone router executable, currently useless since the router code doesn't support running in another process. 2011-09-08 23:28:36 +00:00
Daniel Collins
6e94ae1a6b Fixed bugs in thread termination code. 2011-09-08 23:00:52 +00:00
Daniel Collins
f837ac123d Continued DirectPlay code tweaks 2011-09-08 22:23:00 +00:00
Daniel Collins
431d0b8047 Began cleanup/overhaul of DirectPlay service provider. Removed last of the "extended bind" kludge implemented for previous code. 2011-09-08 18:42:27 +00:00
Daniel Collins
b1828e0958 Implemented proper SO_REUSEADDR support and fixed getsockopt to return proper value when SOL_SOCKET/SO_BROADCAST is requested. 2011-09-08 18:28:01 +00:00
Daniel Collins
48b141d7e9 Updated changelog. 2011-09-08 00:43:45 +00:00
Daniel Collins
b3d911abea Partial cleanup of locking code. 2011-09-08 00:20:34 +00:00
Daniel Collins
eec97eee76 Use service provider GUID defined in dplay.h. 2011-09-07 23:37:57 +00:00
Daniel Collins
3c9d1870c8 Merged EnumProtocolsA and EnumProtocolsW into a single function. 2011-09-07 23:29:14 +00:00
Daniel Collins
dd1a6d3b02 Cleaned up some winsock includes, changed EnumProtocolsW to use correct PROTOCOL_INFO structure. 2011-09-07 23:03:14 +00:00
Daniel Collins
0b73241fe8 Check packet size and cache source IP in recv_packet. Destination network number is replaced with the source IP of the packet by the router thread. 2011-09-07 20:37:18 +00:00
Daniel Collins
d046b6522d Switchover to new router code 2011-09-07 20:03:16 +00:00
Daniel Collins
37e9db8fba New router code on verge of completion 2011-08-29 13:58:45 +00:00
Daniel Collins
bcbaea33c4 New router code nearing completion. 2011-08-29 13:41:10 +00:00
Daniel Collins
2674e3356f More code cleanup and a couple of files I forgot to add last commit. 2011-08-29 13:21:18 +00:00
Daniel Collins
8b1c53e0bd More code cleanup 2011-08-29 13:15:10 +00:00
Daniel Collins
1a54e5208d More work on new router code. 2011-08-29 10:57:19 +00:00
Daniel Collins
9f62a21b30 Started rewrite of router code to be isolated from the rest of IPXWrapper. 2011-08-29 10:03:58 +00:00
Daniel Collins
bca5c8f978 Only update sp_data.ns_addr in IPX_Reply when idNameServer changes. 2011-08-28 21:39:51 +00:00
Daniel Collins
2b1fe00e13 Updated SRC_FILES. 2011-08-28 21:31:19 +00:00
Daniel Collins
bbfbcb79cd Lots of code cleanup. 2011-08-28 21:27:06 +00:00
Daniel Collins
8a46fa60f6 Added DirectPlay source files to SRC_FILES. 2011-08-28 19:00:04 +00:00
Daniel Collins
4bbf47721c Cleaned up error handling a bit and changed DirectPlay discovery socket number. 2011-08-28 18:49:37 +00:00
Daniel Collins
e5271a3df6 Added (very) experimental DirectPlay support. 2011-08-28 15:56:05 +00:00
Daniel Collins
14e7e08dda Added 0.2.2 release tag. ipxwrapper-0.2.2 2011-08-22 07:12:51 +00:00
Daniel Collins
bfa611ae6e Correctly terminate strings in stub DLLs. 2011-08-12 01:12:10 +00:00
Daniel Collins
adfdff8fb7 Log DLL and function names in ipxwrapper.log instead of seperate log file. 2011-08-11 20:36:35 +00:00
Daniel Collins
d3adf8efef Added missing exports to wsock32.dll/mswsock.dll and tweaked Makefile. 2011-08-10 01:44:13 +00:00
Daniel Collins
e017c98ffd Highlight text boxes with invalid values. 2011-08-06 16:35:03 +00:00
Daniel Collins
8f97a8b8ad Fixed logic error from r76. 2011-08-06 16:23:43 +00:00
Daniel Collins
5f06b2250c Correctly order interfaces when first interface has the force primary flag set. 2011-08-06 16:18:44 +00:00
Daniel Collins
1e71883c3e Removed "Settings saved successfully" dialog and cleaned up registry code. Registry key will only be created if necessary upon saving the configuration. 2011-08-06 16:08:47 +00:00
Daniel Collins
12a1004429 Set NIC list column width correctly. 2011-08-06 15:19:52 +00:00