Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

mTCP and SwsVPkt (Announce)

posted by mbbrutman Homepage, Washington, USA, 01.06.2011, 03:11

> FYI: I just tried mTCP with SwsVPkt in a Windows XP NTVDM "DOS box". It
> works - at least I was able to use DHCP.EXE, PING.EXE and FTP.EXE (
> connect, directory listing and to download a file from ftp.openwatcom.com
> worked; with ftp.microsoft.com, the directory listing failed for some
> reason ).
>
> Since mTCP runs natively in NTVDM, it might be a preferable option (
> compared to run it in DOSBox/Qemu/VMware ) - but I didn't do any benchmarks
> so far.

I just tried SwsVPkt for the first time - I was unaware that it existed. It seems to work as advertised, at least from a functional standpoint. I'm still in shock that my DOS programs are running natively in a Windows XP DOS Box.

DHCP has a slight problem. I believe that SwsVPkt is passing packets out directly on the specified interface. My router gave my DOS Box the same IP addr that is assigned to the host operating system, which is correct - that MAC address already has an IP address. A unique IP address would avoid conflicts like the one I just experienced - the IRC network that I connected to was not happy that I had two connections from the same machine. ;-0

I'm going to play around with this some more to try to break it .. if it doesn't break easily then I have four ways to run DOS networking code: [1] on native hardware, [2] in DOSBox with the NE2000 emulation, [3] using VirtualBox or VMWare and now [4] natively in an XP NTVDM using SwsVPkt. That's pretty neat!

(There is one small catch. My anti-social polling of the network adapter is making the DOS box run continuously, pegging one of my CPU cores.)


-Mike

 

Complete thread:

Back to the forum
Board view  Mix view
22632 Postings in 2109 Threads, 402 registered users, 306 users online (0 registered, 306 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum