lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] endless loop in netconn_write


From: M. Gotink
Subject: Re: [lwip-users] endless loop in netconn_write
Date: Thu, 27 Jul 2006 10:28:42 +0200
User-agent: Internet Messaging Program (IMP) 3.1

> 
> Again, connections in the TCP TIME_WAIT state could explain that: the
> PCBs will continue to exist after the connection has closed until they
> time out.  
> 

According to the source, before a connection enters the TIME_WAIT state it is 
purged, removed from the active state list and then added to the TIME_WAIT 
list. If a new connection arrives and no PCB's are left, the oldest PCB from 
the TIME_WAIT list will be removed. 
Since there are rather much active connections open (10 at the latest attempt) 
it could be the send buffer is full because this memory isn't freed, which 
doesn't happen because not all connections enter the TIME_WAIT state some way.

Martin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]