Hi,

I am writing a client server code in C. In code the client send the UDP messages to the multicast group. The server(which have joined the group ) receive the packet and process it.

The problem I am facing is that when I run the program ( in the beging of the day) it losses 1 or 2 or 3 first messages and then and works properly there after. And if I run the program again then it works fine (no message even 1st message is not lost).
what would be the problem and also this doesn't t happen very often makes it hard to diagnose.


I have started the server and waited few minutes to update routing table but still it didn't help


The servers are on different machines and I am facing this problem only in one server that means the problem is system specific.

I am using linux.


Any help or suggestion would be appreciated.