I haven't flogged this here in a long time, so my apologies in advance:
A new version of mTCP is available at
http://www.brutman.com/mTCP .
mTCP is a collection of TCP/IP applications with the TCP/IP code built
into each application. The applications include a DHCP client, FTP
client, IRC client, Telnet client, SNTP (Simple NTP) client, Telnet,
Ping and Netcat. Static networking setup is available if you are not
inclined to use DHCP.
Requirements are a PC, clone, PCjr or whatever you have, somewhere
around 192KB of free memory, and a network device with a packet driver.
I use 'device' loosely here - this includes SLIP, PPP, Ethernet cards,
and Ethernet adapters hanging off of parallel ports. The code runs well
in DOSBox and virtual machines if you are so inclined.
Features of the stack include:
- ARP, TCP and UDP
- Automatic detection and retransmission of lost packets
- Support for multiple open sockets
- Listen/accept support for server style applications
- DNS resolving
- Zero window support
- IP fragment reassembly
The goal is to make this open source some day. Until then, you just
have to enjoy the compiled binaries. I started out with Turbo C++ 3.0
about five years ago, and recently switched to Open Watcom. IP fragment
support is the newest addition to the code.
Enjoy,
Mike