Skip to main content
NMALH
Associate II
July 15, 2021
Question

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

..

This topic has been closed for replies.

3 replies

Amel NASRI
ST Technical Moderator
July 15, 2021

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 "Best Answer" on the reply which solved your issue or answered your question.
NMALH
NMALHAuthor
Associate II
July 16, 2021

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.

waclawek.jan
Super User
July 16, 2021

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

JW