Home:ALL Converter>Linux drops UDP packets

Linux drops UDP packets

Ask Time:2017-01-16T23:27:52         Author:Christoph P.

Json Formatter

I have written a C++ tool for my linux machine which receives UDP (OSC) packets and sends them back immediately (thats the only thing it does). But it seems that there is some amount of dropped packets. When I send 100 packets to my linux (from another machine), mostly only 64 packets are returned. I have looked at the incoming packets with tcpdump. It tells me the following:

64 packets captured
64 packets received by filter
0 packets dropped by kernel

So where are they?

Author:Christoph P.,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/41679698/linux-drops-udp-packets
yy