UDP multicast group on Windows Phone 8

前端 未结 3 510
被撕碎了的回忆
被撕碎了的回忆 2020-12-24 10:54

OK this is one I\'ve been trying to figure out for a few days now. We have an application on Windows Phone 7 where phones join a multicast group and then send and receive me

3条回答
  •  太阳男子
    2020-12-24 11:19

    UDP multicast works pretty strangely under windows phone 7 from my experience so you should checkout the same for windows phone 8.

    Here is my experience:

    1. check what is officially supported, for instance under Windows Phone OS 7.1 (last OS I tried before switching), TCP unicast, UDP unicast, and UDP multicast clients are supported.
    2. some versions of Windows phone permit to receive a UDP session only if the client first opened it and the session is received within no more than 10 seconds, this seems like some sort of security thing on Windows Phone.
    3. try with different addresses: multicast addresses in the range from 224.0.0.0 to 224.0.0.255 inclusive are “well-known” reserved multicast addresses.
    4. Check both in the virtual machine and in a real phone device, the behaviour may differ.

提交回复
热议问题