cancel
Showing results for 
Search instead for 
Did you mean: 

Lwip TCP Client disconnect detection. I am unable to detect if my client is disconnected from server. if my server sends the close command then i am able to detect but problem arises when the server stops abruptly or power goes down.

NMALH
Associate II

MCU is STM32F207VIT6 (client)

server is windows application.

LWIP library is used.

Is there any ping command?

3 REPLIES 3
LCE
Principal

Ping:

Yes, there is, and it's "processed" in icmp.c as ICMP_ECHO .

So you must have LWIP_ICMP defined to enable ping, in opt.h .

NMALH
Associate II

already set to 1. Will you please elaborate more.

Piranha
Chief II