In short, UDP packets can be lost when an appropriate
buffer size is not set. This struck me as odd since the length of the packet is specified in the
header of the packet. So a trivial solution would be to read the length of the packet in the header and allocate an appropriate buffer size accordingly. This would solve the missing UDP packet problem.
John.