B4R Question Ethernet UDP cable disconnect

orpailleur

Member
Licensed User
How can i detect the cable disconnect in UDP, should i first detect Ethernet disconnect, after reconnect ethernet, then reconnect UDP ?
 

orpailleur

Member
Licensed User
Thank you for your answer
I suppose if the cable is disconnect and reconnect
So long the arduino does not send UDP packet
the arduino is not able to receive UDP packet from the PC.
So the good way is to send a UDP packet as a watchdog.
So i can use the FALSE return from the SendPacket
for retry the connection ( ethernet and udp, or only udp ? )
Best regards
 
Upvote 0
Top