LanPlugin: Take subnet mask into account when polling
On Android, we can use WifiManager#getDhcpInfo()
to retrieve the subnet mask. We only need to attempt connecting to peers within our subnet.
This could be useful for LANs that allocate public addresses.