The use of the ESP8266 in the world of IoT

User avatar
By arnab321
#51750 The tcp server runs on the esp-01 and randomly reboots. The client (written in Java, actually Processing) runs on the computer and needs to detect that the device rebooted and is no longer connected.

I read about sending pings or some "heart beat" periodically. Who should send the pings and when, for an efficient implementation, as the ping packets will get mixed up with the actual data.

Tcp packets require an ACK to be sent right? If the client sends some data, and doesn't receive an ACK, we detected it right? But why doesnt that happen in a half open connection?