<How to get broadcast address in current Wifi/LAN?...
# stackoverflow
u
How to get broadcast address in current Wifi/LAN? If I want to send a UDP broadcast to all devices in the network, is there a built-in way to access the broadcast address? The only answer my google-fu got me, was this post, but here it is done manually: Getting wifi broadcast address in Android wifi hotspot Also, the <a href="https://developer.android.com/reference/java/net/InterfaceAddress#getBroadcast()" rel="nofollow...