I have also noticed that if your main program exits before it can ACK
the FIN, the server is left in LAST_ACK. To get around this, just
sleep for one second so the tcpip_thread can finish ACKing the FIN
before the program aborts.
-rishi
On May 15, 2008, at 12:04 PM, Bill Auerbach wrote:
Rick,
http://lists.nongnu.org/archive/html/lwip-users/2008-02/msg00071.html
And search the lwIP-users mailing list for TIME_WAIT.
Bill
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Rick Culver
Sent: Thursday, May 15, 2008 11:31 AM
To: [email protected]
Subject: [lwip-users] TIME_WAIT State
I am using LWIP 1.2.0 in the callback mode. When I use tcp_close()
to force a connection closed the pcb goes to state TIME_WAIT and
never seems to leave that state. Can anyone tell me what this
state is, why the pcb seems to stay in this state forever, and how
should I respond to a pcb that is in this state? Thank you.
Rick
_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users
_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users