From: Roedy Green on 23 Mar 2010 08:24 InetAddress.isReachable always returns false. I am puzzled why. My router is set to pass UDP port 7 through. I can ping google.ca. -- Roedy Green Canadian Mind Products http://mindprod.com Responsible Development is the style of development I aspire to now. It can be summarized by answering the question, �How would I develop if it were my money?� I�m amazed how many theoretical arguments evaporate when faced with this question. ~ Kent Beck (born: 1961 age: 49) , evangelist for extreme programming.
From: rossum on 23 Mar 2010 09:26 On Tue, 23 Mar 2010 05:24:19 -0700, Roedy Green <see_website(a)mindprod.com.invalid> wrote: >InetAddress.isReachable always returns false. I am puzzled why. > >My router is set to pass UDP port 7 through. I can ping google.ca. What timeout are you using? Too short a timeout may cause a false return if the host takes too long to reach. Similarly the ttl parameter may need to be set to more than the default zero. rossum
From: Roedy Green on 23 Mar 2010 10:03 On Tue, 23 Mar 2010 13:26:22 +0000, rossum <rossum48(a)coldmail.com> wrote, quoted or indirectly quoted someone who said : >What timeout are you using? Too short a timeout may cause a false >return if the host takes too long to reach. I was using 10 seconds. I'll try bumping up the TTL. -- Roedy Green Canadian Mind Products http://mindprod.com Responsible Development is the style of development I aspire to now. It can be summarized by answering the question, �How would I develop if it were my money?� I�m amazed how many theoretical arguments evaporate when faced with this question. ~ Kent Beck (born: 1961 age: 49) , evangelist for extreme programming.
From: Arne Vajhøj on 23 Mar 2010 20:20 On 23-03-2010 08:24, Roedy Green wrote: > InetAddress.isReachable always returns false. I am puzzled why. > > My router is set to pass UDP port 7 through. I can ping google.ca. Most *nix implementation use ICMP (ping). The windows version is said to use TCP to port 7 (echo). Arne
From: Roedy Green on 23 Mar 2010 20:55 On Tue, 23 Mar 2010 07:03:30 -0700, Roedy Green <see_website(a)mindprod.com.invalid> wrote, quoted or indirectly quoted someone who said : > >I was using 10 seconds. I'll try bumping up the TTL. no joy. -- Roedy Green Canadian Mind Products http://mindprod.com Responsible Development is the style of development I aspire to now. It can be summarized by answering the question, �How would I develop if it were my money?� I�m amazed how many theoretical arguments evaporate when faced with this question. ~ Kent Beck (born: 1961 age: 49) , evangelist for extreme programming.
|
Next
|
Last
Pages: 1 2 3 Prev: need suggestion for HTML Renderer for java Next: Using enums to avoid using switch/if |