Monu Tripathi wrote:Niklas: what exactly are you trying to do? Are you trying to check if a certain IP is reachable from your phone?
From what I have heard, InetAddress#isReachable() might not work as one might expect.
was trying to to find a way to ping an ip with random data
used that with my first attemt to get it to work
right now im starting a new process with the phones existing ping
and processing the output for the information
if you create a InetAddress from string address "www.google.com" for example
the InetAddress will have the correct IP
since that works i dont really understand why
isReachable() does not...
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop