[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] Stack Cleaning
From: |
Steven Woody |
Subject: |
Re: [lwip-users] Stack Cleaning |
Date: |
Thu, 21 Apr 2011 22:10:38 +0800 |
On 21 April 2011 22:06, Kieran Mansley <address@hidden> wrote:
> On Thu, 2011-04-21 at 22:01 +0800, Steven Woody wrote:
>> By far, I've not seen that 'errf' callback will save the case where
>> the peer crashed and try to SYN again.
>
> In that case two things will happen:
>
> 1) Your application (if it's listening for new connections) will get the
> tcp_listen callback.
No, my app had became CONNECTED. so, it will not get tcp_listen callback.
>
> 2) Your other connection, if you're using it to send data, or you're
> using TCP keep alives, or you have some application-level keep alive,
> will eventually time out.
Yes, but what the peer can do is resent a SYN again, and fail again.
>
> Kieran
>
>
> _______________________________________________
> lwip-users mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/lwip-users
>
--
Life is the only flaw in an otherwise perfect nonexistence
-- Schopenhauer
narke
public key at http://subkeys.pgp.net:11371 (address@hidden)
- [lwip-users] Stack Cleaning, Steven Woody, 2011/04/21
- Re: [lwip-users] Stack Cleaning, Kieran Mansley, 2011/04/21
- Re: [lwip-users] Stack Cleaning, Steven Woody, 2011/04/21
- Re: [lwip-users] Stack Cleaning, Kieran Mansley, 2011/04/21
- Re: [lwip-users] Stack Cleaning, Steven Woody, 2011/04/21
- Re: [lwip-users] Stack Cleaning, Kieran Mansley, 2011/04/21
- Re: [lwip-users] Stack Cleaning, Steven Woody, 2011/04/21
- Re: [lwip-users] Stack Cleaning, Kieran Mansley, 2011/04/21
- Re: [lwip-users] Stack Cleaning,
Steven Woody <=
- Re: [lwip-users] Stack Cleaning, Kieran Mansley, 2011/04/21