Hello,
we want to implement a kind of discovery tool for our devices. Therefore we tried to implement a simple server at the PicoCOM2 which receives multicast messages. The code we used in the first step is nearly the multicast receive sample for Win CE given by Microsoft. The sender side is implemented using the multicast send sample by Microsoft. We connected a PicoCOM2 with the latest kernel to a desktop pc using a crosslink cable. The results were the following:
- If the PicoCOM2 sends then the desktop pc receives the multicast message
- If the pc sends, the PicoCOM2 doesn't receive anything
- If we connect two desktop pcs via crosslink cable and do the same, the second pc receives the multicast message.
This leads us to the assumption that the PicoCOM2 has a problem receiving multicast messages.
In some web forums we found descriptions of a bug in the WinCE network stack that leads to the effect that only special multicast addresses in the form aaa.0.0.bbb work, when in bbb the Bits 0 and 1 are not set. We tried with 224.0.0.4. This doesn't solve the problem.
What could be the problem? Maybe the NDIS driver?
Thanks and best regards