I have a problem with socket communication. When i send two packets in
succession. First packet is recognized perfectly and some how the event
is missing for the second packet.

So my program is not returning from select.

i have only one socket.

I am able to reproduce this problem on GNU/Linux kernel pacth version 2.4.21-27.EL.

And it is working well on GNU/Linux 2.4.21-32.ELsmp

Can you please tell me the reasons for this behaviour.