[En-Nut-Discussion] TCP stops working after some time

Bernd Walter ticso at cicely12.cicely.de
Mon Dec 20 12:56:36 CET 2004


On Mon, Dec 20, 2004 at 12:40:09PM +0100, Harald Kipp wrote:
> 
> At 12:25 20.12.2004 +0100, you wrote:
> 
> >We added protection localy, but this didn't change the TCP problem,
> >but since changing the timeout we had no single failure.
> >With 100ms we had been seen timeouts with less than 10ms, so there
> >is at least something to document.
> 
> Can you explain, how you verified this short timeouts?

The thread drops the connection imediatly on receive timeouts.
The time gap between the last packet send to the Ethernut and the
fin packet from the board was sometimes much shorted than expected.

My personal asumption (not checked by reading source) is that our 100ms
was rounded down to the granularity (~63ms IIRC) and we effectifly
had a timeout between 0ms and timer granularity because it just waits
for the next timer interrupt to happen.

-- 
B.Walter                   BWCT                http://www.bwct.de
bernd at bwct.de                                  info at bwct.de




More information about the En-Nut-Discussion mailing list