VOGONS


First post, by Myg

User metadata
Rank Newbie
Rank
Newbie

I put together this IPXNET server from scratch recently. It is designed to be as fast, as simple (programically) and as thread safe as possible.

The first download is using the .NET Core 3.1 framework (https://dotnet.microsoft.com/) from Microsoft and is multi-platform.
The second download is referenced from .NET framework 4.7.2.

If you have any suggestions/design comments please don't hesitate.

Both were built using Visual Studio 2019 Community edition.

1. .NET Core 3.1 IPXNET server solution: https://krock.online/files/DOSBoxIPXServer.zip
2. .NET Framework 4.7.2 IPXNET server solution: https://krock.online/files/DOSBoxIPXServerNF.zip

Last edited by Myg on 2019-12-25, 22:10. Edited 36 times in total.

Reply 1 of 9, by Yesterplay80

User metadata
Rank Oldbie
Rank
Oldbie

Could you provide a compiled exe, please? I'd like to try it out but don't want to install the whole VS2017 suite just for it.

My full-featured DOSBox SVN builds (without debugger) for Windows: Vanilla DOSBox and DOSBox ECE (Enhanced Community Edition)

Reply 2 of 9, by Myg

User metadata
Rank Newbie
Rank
Newbie
Yesterplay80 wrote:

Could you provide a compiled exe, please? I'd like to try it out but don't want to install the whole VS2017 suite just for it.

Compiled .NET 4.7.2 exe: https://krock.online/files/DOSBoxIPXServerNF.exe

Normally loading/double clicking it with Windows UI, without arguments, will start the server with the default values:
- UDP port: 213.
- timeout: 360 seconds.
- pingtime: 60000 milliseconds.

Arguments: [port] [timeout] [pingtime]
[port] = port that the server will use.
[timeout] = The number of seconds a client will persist on the server before it is removed.
[pingtime] = The number of milliseconds between ping checks: A proper responce will reset a client [timeout]
.

The arguements are all optional.

Examples/use cases:
- "DOSBoxIPXServerNF 5000" to run the server on UDP port 5000 with default timeout and pingtime.
- "DOSBoxIPXServerNF 5000 600" to run the server on UDP port 5000 with a 600 second user timeout with default pingtime.
- "DOSBoxIPXServerNF 5000 600 6000" to run the server on UDP port 5000 with 600 seconds user timeout with a ping/connection/keepalive test (resets the user timeout if successful) every 6000 milliseconds.

Last edited by Myg on 2019-11-24, 16:47. Edited 51 times in total.

Reply 3 of 9, by Myg

User metadata
Rank Newbie
Rank
Newbie

I found a bug in dosbox that sends a packet type of 245 instead of the expected 32 (socket 213 + packetype 32 = 245): This has been causing problems and the inability to connect for some people who arn't on windows 10. I have implemented a work-around and the server and its windows/cross-platform binaries should be operating well now (updated all the links).

My greatest apologies for not noticing this earlier.

Last edited by Myg on 2019-12-06, 17:01. Edited 2 times in total.

Reply 4 of 9, by Vulturius

User metadata
Rank Newbie
Rank
Newbie

I've tested it out on my machine:

- running "DOSBoxIPXServerNF 10450 360 60000"
- running DOSBox Instance1 with "ipxnet connect 192.168.1.109 10450"
- running DOSBox Instance2 with "ipxnet connect 192.168.1.109 10450"
- Started up an IPX network game of Warcraft

Everything works great! Nice job!

Future tests I'd like to conduct is to run a server (DOSBoxIPXServerNF 10450 360 60000) and let others join over the internet?
I suspect I only need to open up port 10450 TCP/UDP on my network device?

Other question I have is, how difficult is it to be able to play games in DOXBOX and DOS over network IPX?

Reply 6 of 9, by DosFreak

User metadata
Rank l33t++
Rank
l33t++

DOSBox doesn't support talking to a real IPX network, you'll need find the patch and compile dosbox for that.

DOSBox Compilation Guides
DosBox Feature Request Thread
PC Game Compatibility List
How To Ask Questions The Smart Way
Running DRM games offline

Reply 7 of 9, by Myg

User metadata
Rank Newbie
Rank
Newbie

If you look at my design, you will see there is no need to restart or reset the server because it uses the internal IPX ping system to check if clients are still connected. I would suggest this functionality be built into the actual DOSBox exe for the IPXNET server itself instead of using a hard coded and limited client list.