lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] LWIP and its keep-alive feature - does it work?


From: Simon Goldschmidt
Subject: Re: [lwip-users] LWIP and its keep-alive feature - does it work?
Date: Tue, 20 Dec 2022 17:42:53 +0100
User-agent: K-9 Mail for Android


Peter <peter@peter2000.co.uk> wrote:
>
>[..] if say the server is rebooted during a connection, the
>connection is not re-established. Maybe that is how it is supposed to
>work

Yes, that's why it is called "keepalive", not "re-establish broken 
connections". By the way, it's not an lwip thing but an implementation of 
generic TCP concepts.

> i.e. if one wanted to re-establish a connection in such a
>situation, the client should be sending out regular "real" packets,
>not KA packets.

Exactly. If the server is restarted, there's no way a keepalive packet would do 
anything good. You need to send SYN packets to establish a new connection.

Regards,
Simon



reply via email to

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