Tool/software:
We are encountering random UDP packet drops using the recvncfrom() call. We're using the following components:
pdk 2_0_15
ndk_3_61_01_01
sdk_rtos_c665x_6_01_00_08
We're using a simple Python script on a PC to send an incrementing pattern over UDP. Wireshark shows all the packets were transmitted from the PC with the right data. We have a short function on our target system that stores data from the incoming packets into an array. There seem to be two types of failures: first, packets get dropped from the sequence. We'll send say 0 to 99 and we'll see the data: 0, 1, 2, 3, ... etc. but sometimes one will drop: ..., 23, 24, 26, 27, etc. (no 25). The second type of failure is we'll receive old data, like: ..., 56, 57, 25, 59, 60, 61, etc. (25 was sent earlier). Since we're using recvncfrom(), our application needs to free the pkt buffer. As a test, right before we free the pkt buffer we fill it with a 0xAA pattern. Now when we get the second failure, we'll get: 56, 57, 0xAA, 59, 61, etc.
Has anyone seen this type of issue? If so, is there a newer version of the above components?
Thank you.
Mike