4 ms·
You're correct that DOS itself (MS-DOS, at least) has no networking support, but you might be surprised to learn that DOSBox does natively have networking suppo
by Sophira 11y ago
You're correct that DOS itself (MS-DOS, at least) has no networking support, but you might be surprised to learn that DOSBox does natively have networking support - in more ways than one.
On the DOS side of things, you can configure DOSBox so that one instance acts as an IPX 'server' - a server that other DOSBox clients can connect to in order to form a virtual IPX network over UDP. Programs running under DOS would then be able to use the IPX network - especially useful for games, as back then IPX was typically the only kind of networking available.
DOSBox also has support for emulating modems, tunneling the communication over TCP. It does this by allowing the Hayes dial commands to accept IP address/port combinations corresponding to the DOSBox client on the other end (which would have been set up as a server), which many programs would then just accept without validating them. In the event that a program did validate them and not let you enter anything except numbers, you can still do it by padding the numbers with zeroes. For example, if you wanted to connect to 192.168.1.45:1234, you could 'dial' 1921680010451234. Many modem games can then be played this way without having to use any DOS networking support.
- zamalek 11y agoThere was also the port tricks, connect two PCs with a COM or LPT cable and a few games could communicate over them. I recall (but could be wrong) that DOOM 3D could do this. DirectPlay (DirectX networking) also supported this in at least Windows 95. A few VIC 20 games also used this trick.
- Sophira 11y agoYep! That was commonly called a "null modem" cable, and DOSBox supports that style of connection too. :)