UDP Packet loss
Posted: Tue Dec 25, 2018 5:50 pm
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!
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!