Peter <pe...@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

_______________________________________________
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to