[En-Nut-Discussion] TCP timeout problem

Pavel Chromy chromy at asix.cz
Mon Feb 3 22:47:36 CET 2003


Hi All,

recently I run into problem using long TCP sessions -
After I connect Ethernut in passive fashion (NutTcpAccept)
everything works just fine as long as the communication is in progres,
but if the connection is idle for about 10 minutes
(while waiting for data using NuTcpReceive) Nut/OS simply stops
responding, instead of closing the connection.
Not event ICMP echo (ping) comes back from it.

As I looked at it, the connection timed out (ETIMEDOUT)
error is not set anywhere within Nut/OS.
I consider this to be bug/unhandled error state in NutOS.

Did anyone experience this problem?
Is there any solution either on application level
or by fixing Nut/OS?

Note: version of Nut/OS I used is 2.60, compiled in WinAVR 20030115.

Thanx Pavel




More information about the En-Nut-Discussion mailing list