lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] Best way for determining if a TCP connection is dead?


From: Chris Seto
Subject: [lwip-users] Best way for determining if a TCP connection is dead?
Date: Wed, 24 Jan 2018 10:35:21 -0600

I have some code which works great, based on the echo client example.

I'm working on hardening it, and I'm wondering with how best to deal with a dead TCP connection as a result of the network link being down (ie, Ethernet cable disconnected).

The echo client contains conditions for a software termination of the socket (ie, server sends am empty frame), but I don't see anything dealing with a more blunt loss of the connection.

Any advice?

Thanks,
Chris 

reply via email to

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