[Mono-devel-list] UDP 40%+ loss

marcusmonaghan at f2s.com marcusmonaghan at f2s.com
Mon Apr 4 10:37:07 EDT 2005


All,

I am trying to re-creating a C program in C# mono (as there are more C#
developers in our company now) and it seems it's not behaving in the expected
way.

The program is very simple. It listens on a multicast group, receives data and
writes it to a file. The problem is that I'm seeing roughly 40%+ missed
messages when compared to the C program. I ran the C# and C program on the same
box. On another box I send out 100 messages in 10 second bursts. The C program
receives all of them whereas the C# program only receive 60 on the first burst
50 on the second 55 on the third and so on.

I then (just for a laugh) unthrottled the sending program. It sent 51,000
messages, all of which where received by the C program. The c# program recorded
7152.

Anyone got any ideas? Possibly a bug?

Regards,
Marcus



More information about the Mono-devel-list mailing list