cancel
Showing results for 
Search instead for 
Did you mean: 

server-side knowledge of disconnection of the client without getting close command from the client .

NMALH
Associate II
 
3 REPLIES 3
Amel NASRI
ST Employee

Hello @NMALH​ ,

To be able to provide you required help, could you please provide some more details on your request?

-Amel

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

We are connecting multiple clients with a single server. When the client sends a close connection command we are able to detect it on the server side, whereas when the client gets disconnected by any other means i.e. when the client is powered off or the ethernet cable is damaged then we are not able to identify whether that particular client is still connected or not. We are using LWIP library for creating client and server.

Have a look at TCP keepalive, and its options in lwip.

JW