[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-users] Re: [lwip] Tcp - FIN_WAIT_1 state
From: |
Kieran Mansley |
Subject: |
[lwip-users] Re: [lwip] Tcp - FIN_WAIT_1 state |
Date: |
Wed, 08 Jan 2003 22:05:09 -0000 |
On 5 Feb 2002, avi wrote:
> There is something I couldn't understand regarding the actions done in
> FIN_WAIT_1 state:
> When the lwip receive FIN in the FIN_WAIT_1 state it call to:
> tcp_ack_now()
> tcp_pcb_purge()
> Shouldn't the tcp_output should be called before the tcp_pcb_purge,
> cause when it will be called the tcp_output wil have nothing to send.
I'm not sure I understand quite what you mean, but tcp_ack_now() does call
tcp_output() before it returns. Calling tcp_output() again would have no
purpose.
Hope that helps,
Kieran
[This message was sent through the lwip discussion list.]
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lwip-users] Re: [lwip] Tcp - FIN_WAIT_1 state,
Kieran Mansley <=