datagram loss reason

Posts: 92
Joined: Fri Aug 04, 2017 8:57 pm

datagram loss reason

Postby michprev » Tue Feb 19, 2019 12:11 pm

I know that UDP does not guarantee that data will be ever delivered.

I am broadcasting 21 bytes long datagram every 1 second but sometimes it is not delivered - usually 1 or 2 datagrams are missing in a row.
I am attaching wireshark log.

Even more interesting is that I don't see any packet drop / error:
Screenshot_20190219_125804.png (15.93 KiB) Viewed 614 times

My code is available at
What might be the reason why datagrams are not delivered?

I am using ESP-IDF revision ed1304146 (tag: v3.1.2).

Some observations - does not matter if I use Windows or Linux, does not matter if I use external wifi dongle or internal wifi
If I use second laptop (and modify code to accept 2 connections) the second laptop does not have any issues (it receives what the first laptop does not receive)
(2.16 KiB) Downloaded 259 times

Who is online

Users browsing this forum: Majestic-12 [Bot], MSN [Bot] and 37 guests