Hello
I have my raspberry that controls (will control) a drone.
An additional devide (a pc , for instance) connected via wifi on teh same network, sends the commands to rpi.
I need to detect if raspberry loose connection to the device.
I can image to develop a "ping" funcion.
Can you suggest me some available library or giv eme some example?
It is mandatory that this chack has not to lock the main loop (eventually I can think to make a parallel thread).
BR
Oscar