usotsuki
Experienced Member
- Joined
- Nov 30, 2010
- Messages
- 86
I originally ported RDATE with WatTCP and lost the source in a drive crash.
I tried to do it again using Mike Chambers' minitcp and couldn't get it working but he rewrote it from the ground up. I just copied its command line syntax on top of that. This is pretty handy for XTs without clock chips - put something like "rdate ntp.demon.co.uk" in your autoexec.bat to get the date off the network.
The code is compiled in Turbo C++ 1.01 - it can be rolled in Borland 3.1 but then it says "Null pointer assignment" at the end for some reason.
http://buric.co/dosnet/rdate-20120601.zip
I hope to have more Internet software for DOS soon.
ETA: This being minitcp, it needs a config file (minitcp.ini). Doesn't do dhcp yet unlike WatTCP. An example for the emu I tested with (Mike Chambers' fake86):
ip 192.168.0.81
netmask 255.255.255.0
gateway 192.168.0.1
dns 4.2.2.3
I tried to do it again using Mike Chambers' minitcp and couldn't get it working but he rewrote it from the ground up. I just copied its command line syntax on top of that. This is pretty handy for XTs without clock chips - put something like "rdate ntp.demon.co.uk" in your autoexec.bat to get the date off the network.
The code is compiled in Turbo C++ 1.01 - it can be rolled in Borland 3.1 but then it says "Null pointer assignment" at the end for some reason.
http://buric.co/dosnet/rdate-20120601.zip
I hope to have more Internet software for DOS soon.
ETA: This being minitcp, it needs a config file (minitcp.ini). Doesn't do dhcp yet unlike WatTCP. An example for the emu I tested with (Mike Chambers' fake86):
ip 192.168.0.81
netmask 255.255.255.0
gateway 192.168.0.1
dns 4.2.2.3