Android 10+ multicast groups

We are attempting to provide a list of multicast groups to ZeroTier’s Android client; in our current source we read /proc/net/igmp file to get a list of groups; this works in Android 9 and below, but doesn’t work in Android 10 and above.
Any thoughts/ideas might be helpful.

Things I’ve tried:

  1. I was able to monitor a network interface for multicast join packets but this doesn’t give me any multicast groups that were joined before starting the application.
  2. I tried sending an IGMP membership query but I’m not seeing the reply packets.

Short of Android allowing access to read /proc/net/* once again, or offering another API for access to subscribed multicast groups, there’s not much that can be done. It’s out of our hands, unfortunately.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.