[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] Half-Open detecting
From: |
Steven Woody |
Subject: |
Re: [lwip-users] Half-Open detecting |
Date: |
Thu, 21 Apr 2011 21:30:30 +0800 |
On 21 April 2011 17:33, Kieran Mansley <address@hidden> wrote:
> On Thu, 2011-04-21 at 17:15 +0800, Steven Woody wrote:
>>
>> In both cases above, I hope I can be indicated and go re-listen. In
>> lwIP, how can I do this without hacking code in tcp_input()?
>
> Neither of these are things that are normally available to an
> application, as they shouldn't need to know about them. If the
> connection you're using is broken, you'll get an error about that, and
> you should try and establish a new one.
>
> Which lwIP API are you using?
>
> Kieran
>
RAW API, Kieran. If my app is going to send something, I can
understand the line error can be discovered, but if it's a server and
just sit there waiting for polling, I cannot image how the error got
found -- I assuming KEEP_ALIVE was not turned on as default.
>
> _______________________________________________
> 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)