How to receive Multicast packets on Android

后端 未结 4 1772
囚心锁ツ
囚心锁ツ 2021-01-04 19:25

I\'m trying to receive data from a multicast address, but the call to MulticastSocket.receive() blocks until a timeout takes place. I did some network sniffing and found ou

4条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-04 19:45

    As it seems, there is no proper multicast support in the emulator.

    Here's a bug report and related thread. It is being fixed for froyo.

提交回复
热议问题