Note that when you implement such fixed time comparisons, you may
adversely affect performance in environments that are operating slower
than you think is reasonable.
Most notably, amateur packet radio (which benefits a lot from any delayed
ack scheme) often has packet interarrival times > 1/2 second.
It is better to adjust the time threshold depending on the serial speed
and the MTU or MRU.
(of course, as I wrote earlier, performance in amateur packet radio
will benefit even more from a TCP implementation that knows about
halfduplex interfaces and does not queue replies before carrier drops)
Rob
-- +------------------------------------+--------------------------------------+ | Rob Janssen rob@knoware.nl | BBS: +31-302870036 (2300-0730 local) | | AMPRnet: rob@pe1chl.ampr.org | AX.25 BBS: PE1CHL@PI8WNO.#UTR.NLD.EU | +------------------------------------+--------------------------------------+