-->
Page 1 of 1

UDP Packet loss

PostPosted: Tue Dec 25, 2018 5:50 pm
by tplindley
I know that UDP packets are not guaranteed, but generally work pretty well. I have a software system where numerous ESP devices are broadcasting UDP packets based on time (keep alive) and activity (interrupts). When I have a number of these devices on a network and run a simulation, I loose about 2% of the packets. I am guessing these are from collisions as they are random in nature. I also get different results from different monitors again leading me to believe I am just missing some packets. The behavior from broadcast packets is desirable but I need to make sure I don't miss any update packets.

So i am thinking I need to go to socket based comms between device and server. Not really something i want to do.

Hoping to get any thoughts on this from the community. Merry Christmas!

Re: UDP Packet loss

PostPosted: Sat Dec 29, 2018 3:33 pm
by Luc Volders
look at the manual and use UDP-Reply:

https://docs.google.com/document/d/1EiY ... 3x34y4sn3t

easiest way to test wether a package has been received.

Luc