java - Blackberry: how to find subnet mask of connected network -


how can find subnet mask of connected wifi network in blackberry jde 4.5+ ?

unfortunately, believe there no reliable way in blackberry java.

you can wi-fi ip address, not subnet mask.

i hoping maybe reverse engineer subnet mask attempting udp broadcast connection, but looks that's not supported either.

certainly, if you're on wi-fi network have access web interface wi-fi router, try scrape subnet mask values off router. but, that's useful home network, , assume you'd code work anywhere.

so, don't think there's solution :(


Comments