Hi,
I'm using LWIP 1.4.1 and I'm facing an issue with "brutal" raw socket 
disconnection.

Imagine the following scenario:

-          Create a TCP_PCB listener (server)

-          On connection from a remote host (a Windows PC), accept it, with all 
callbacks

-          Now, I remove the Ethernet cable from my application

-          I also exit (brutally) the remote client application

-          Now, I wait 1 minutes and connect back the Ethernet cable

-          LWIP never signals the connection is lost, not the state of the PCB 
tells me (Still ESTABLISHED)!


How to detect this kind of disconnection ?

Thank you
Fred

_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to