UDP broacast package lose so often!!

2 QNX Neutrino in the same subnet,I used the subnet broacast
address(192.168.1.255) as the dest address to send package every 10ms.
At client side I sent 100 times but the server recv 80~100 times, and the
lost package number is’t a constant.

Does any other configuration should I do? on other hand,how about use
multicast for decreasing lost packages?

Thanks in advance.


I use “netstat -s” got the follow messages about UDP:

Before client send:

udp:
26050 datagrams received
0 with incomplete header
4 with bad data length field
0 with bad checksum
0 dropped due to no socket
26035 broadcast/multicast datagrams dropped due to no socket
0 dropped due to full socket buffers
11 delivered
26046 PCB hash misses
11 datagrams output

After client send:(I got 82 pckg, lose 18 pckg this time)

udp:
26163 datagrams received
0 with incomplete header
4 with bad data length field
0 with bad checksum
0 dropped due to no socket
26066 broadcast/multicast datagrams dropped due to no
socket<----increase 21 this time
0 dropped due to full socket buffers
93 delivered <-------------correctly recv 82 pckg this
time(93-11=82)
26077 PCB hash misses <----increased 31 this time
11 datagrams output


\

Hichun Chen

http://hichun.nease.net
hcchen@ipp.ac.cn