I did a search for this question, about isReachable() in the InetAddress class. What I found is a couple of postings of people who claimed that isReachable() does not work at all.
What I've found, instead, is that isReachable() does work, except it is about 1000X slower than one would expect. So if you set a reasonable timeout, like 3000 milliseconds, it will appear to never work. If you set a timeout like 30,000 milliseconds, it appears to work, at least on the emulator. When I tried the same code on a Nexus One, just now, it did not work, even with the 30 second timeout. I'm using an IntentService to host the call to isReachable() and that all appears to be working. We're trying to use isReachable() for network diagnostics, like one would use Ping. Obviously it isn't too useful at the moment. Has anyone seen this problem, besides the two other people from last year who just claim that isReachable() just does not work? Thank you. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en