How to receive Multicast packets on Android

后端 未结 4 1768
囚心锁ツ
囚心锁ツ 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:38

    I read all 2.1 devices not supporting IGMP stack.

    IGMP was missing on different HTC, Samsung, and Motorola devices of all android version from 2.1 up to 3.2.

    Link in which i read http://www.programmingmobile.com/2012/01/multicast-and-android-big-headache.html

提交回复
热议问题