Is there any way to get the list of IPs of devices connected via hotspot?

Published 1 hour ago
Source: reddit.com

I've been trying to make a type of service that allows me to send data between devices that are on the same network, a big part of that is discovery.

On a normal wifi, using mDNS or broadcast works fine, but on Android hotspot, everything breaks because multicast and broadcast are blocked.

So I thought about making the Android hotspot provider the server, and fetching all devices connected to it, but the problem is that there is no API for it and all linux files that usually have that data are blocked.

Every time I find a way to access the list of IPs of devices connected, I scroll down to find someone saying that it was removed in a recent Android update. So I'm asking now if there's any way left because as time goes on, they lock more and more essential features that may not render devices insecure.

submitted by /u/random-pc-user
[link] [comments]

Categories

androiddev