tags:

views:

53

answers:

2

Hi!

I'm just wondering why my UDP server/client pair is getting 65% packet loss. It's just an echo service that sends (the client) an empty packet when it reaches EOF, and the server resets itself when he gets that empty packet.

Not really homework, just frustrated why I can't get it right :(

Thanks!

+3  A: 

Have you looked at udp buffer overflows? Here is information on packet loss myths how to detect UDP packet loss rates on several platforms. And last but by no means least how to mess with (err... I mean change) the kernel udp buffer sizes for a few unix platforms (caution is advisable).

Marc
+2  A: 

There's no promise that UDP packets will ever be delivered. On congested networks, UDP packets may just be dropped in transit.

There are also routers that are configured to just drop empty UDP packets. See this random example of someone wanting this.

Eric Towers