mTCP and SwsVPkt (Announce)
> 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:
- mTCP Open Source release - mbbrutman, 27.05.2011, 23:47 (Announce)
- mTCP GPL - ecm, 27.05.2011, 23:58
- GPLv3 - mbbrutman, 28.05.2011, 00:20
- GPL: either version 3 of the license, or any later version - ecm, 28.05.2011, 00:55
- GPL: either version 3 of the license, or any later version - mbbrutman, 28.05.2011, 01:09
- GPL: either version 3 of the license, or any later version - ecm, 28.05.2011, 01:18
- GPL: either version 3 of the license, or any later version - mbbrutman, 28.05.2011, 01:25
- download, compile, ... - ecm, 28.05.2011, 01:30
- GPL: either version 3 of the license, or any later version - mbbrutman, 28.05.2011, 01:25
- GPL: either version 3 of the license, or any later version - marcov, 30.05.2011, 09:37
- GPL: either version 3 of the license, or any later version - mbbrutman, 30.05.2011, 15:32
- What does the GPL allow? - ecm, 30.05.2011, 16:08
- What does the GPL allow? - mbbrutman, 30.05.2011, 16:30
- GPL something - ecm, 30.05.2011, 17:08
- GPL something - mbbrutman, 30.05.2011, 18:05
- theoretical licensing problems and such - ecm, 30.05.2011, 18:28
- licensing again... executables - ecm, 30.05.2011, 22:34
- licensing again... executables - mbbrutman, 31.05.2011, 03:33
- licensing again... executables - ecm, 31.05.2011, 13:59
- licensing again... executables - mbbrutman, 01.06.2011, 01:16
- licensing again... executables - ecm, 01.06.2011, 01:53
- licensing again... executables - mbbrutman, 01.06.2011, 02:17
- licensing again... executables - ecm, 01.06.2011, 15:49
- licensing again... executables - mbbrutman, 01.06.2011, 02:17
- licensing again... executables - ecm, 01.06.2011, 01:53
- licensing again... executables - mbbrutman, 01.06.2011, 01:16
- licensing again... executables - ecm, 31.05.2011, 13:59
- licensing again... executables - mbbrutman, 31.05.2011, 03:33
- GPL something - mbbrutman, 30.05.2011, 18:05
- What does the GPL allow? - Rugxulo, 30.05.2011, 18:14
- mTCP in DOSEMU; Linux kernel developers' GPLv2-only reasons - ecm, 30.05.2011, 22:38
- What does the GPL allow? - marcov, 30.05.2011, 22:49
- What does the GPL allow? - mbbrutman, 31.05.2011, 03:41
- What does the GPL allow? - mbbrutman, 31.05.2011, 04:18
- What does the GPL allow? - Japheth, 30.05.2011, 18:47
- Gift trolls and other curiosities - ecm, 30.05.2011, 19:20
- Gift trolls and other curiosities - mbbrutman, 30.05.2011, 19:54
- editing - ecm, 30.05.2011, 20:03
- Gift trolls and other curiosities - mbbrutman, 30.05.2011, 19:54
- Gift trolls and other curiosities - ecm, 30.05.2011, 19:20
- What does the GPL allow? - marcov, 30.05.2011, 22:38
- GPL something - ecm, 30.05.2011, 17:08
- What does the GPL allow? - marcov, 30.05.2011, 22:37
- What does the GPL allow? - mbbrutman, 30.05.2011, 16:30
- GPL: either version 3 of the license, or any later version - marcov, 30.05.2011, 22:35
- GPL: either version 3 of the license, or any later version - mbbrutman, 30.05.2011, 22:56
- GPL: either version 3 of the license, or any later version - marcov, 02.06.2011, 16:10
- GPL: either version 3 of the license, or any later version - mbbrutman, 03.06.2011, 04:12
- GPL: either version 3 of the license, or any later version - marcov, 03.06.2011, 13:36
- GPL: either version 3 of the license, or any later version - Rugxulo, 03.06.2011, 16:45
- GPL: either version 3 of the license, or any later version - marcov, 03.06.2011, 13:36
- GPL: either version 3 of the license, or any later version - mbbrutman, 03.06.2011, 04:12
- GPL: either version 3 of the license, or any later version - marcov, 02.06.2011, 16:10
- GPL: either version 3 of the license, or any later version - mbbrutman, 30.05.2011, 22:56
- What does the GPL allow? - ecm, 30.05.2011, 16:08
- GPL: either version 3 of the license, or any later version - mbbrutman, 30.05.2011, 15:32
- GPL: either version 3 of the license, or any later version - ecm, 28.05.2011, 01:18
- GPL: either version 3 of the license, or any later version - mbbrutman, 28.05.2011, 01:09
- GPL: either version 3 of the license, or any later version - ecm, 28.05.2011, 00:55
- GPLv3 - mbbrutman, 28.05.2011, 00:20
- mTCP and SwsVPkt - Japheth, 31.05.2011, 09:03
- mTCP and SwsVPkt - mbbrutman, 01.06.2011, 03:11
- mTCP and SwsVPkt - Japheth, 01.06.2011, 13:14
- mTCP and SwsVPkt - mbbrutman, 01.06.2011, 15:04
- polling - ecm, 01.06.2011, 16:07
- polling - Japheth, 01.06.2011, 17:12
- polling - ecm, 01.06.2011, 17:27
- polling - Japheth, 01.06.2011, 17:50
- polling - ecm, 01.06.2011, 17:55
- polling - Japheth, 01.06.2011, 18:39
- polling - ecm, 01.06.2011, 18:49
- polling - Japheth, 01.06.2011, 18:39
- polling - ecm, 01.06.2011, 17:55
- polling - Japheth, 01.06.2011, 17:50
- polling - ecm, 01.06.2011, 17:27
- polling - Japheth, 01.06.2011, 17:12
- mTCP and SwsVPkt - Japheth, 01.06.2011, 13:14
- mTCP and SwsVPkt - mbbrutman, 01.06.2011, 03:11
- mTCP GPL - ecm, 27.05.2011, 23:58