From: "Cyrus Patel" Date: Fri, 18 Jan 2002 17:55:28 +0200 Subject: complete rewrite of TinyTCP (aka WatTCP) Hi, an (almost) complete rewrite of TinyTCP (the thing Erick Engelke ripped off as Wattcp) is at http://fb14.uni-mainz.de/~cyp/tso/libtso1.zip The beginnings of a BSD superstructure is at... http://fb14.uni-mainz.de/~cyp/tso/libbsd1.zip known bugs: There is something very fishy going on when running under cwsdpmi. It _runs_ fine, but bombs with a double fault when a ^C is pressed. Everything is a-ok under PMODE/DJ, Watcom386, and real-mode (Watcom and BC/TC). known issues: a) DHCP support (this is more or less Gisle Vanem's DHCP code) requires a massive hack to work. DHCP renews (or even retries) block, which of course an absolute no-no in a background task. It also yanks in the entire UDP code which would not be necessary if DHCP were rewritten as a state machine. b) tcp_accept() is completely untested. c) real-mode small-code models (ie __SMALL__ and __COMPACT__) are no longer supportable. The library is a hair over 72K. __MEDIUM__ is of course ok. I will be away from the keyboard for about 2 months beginning tomorrow (but still reachable by mail). Ergo, I will not be able to continue work on it during that time. If you wish to do something with it go ahead. Cyrus --------------------------------------------- "Death by hanging was the penalty for murder in mainland Britain until 1965, when it was temporarily suspended. Suspension was made permanent in 1970." -- The Guardian, Britain.