Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #9166

Re: Ping from JAVA to IP Address

From sahm <sahm007@gmail.com>
Newsgroups comp.lang.java.programmer
Subject Re: Ping from JAVA to IP Address
Date 2011-10-25 01:56 -0700
Organization http://groups.google.com
Message-ID <26b57282-aa91-4116-884c-92af6ae1f911@k38g2000pro.googlegroups.com> (permalink)
References <670cd44b-d05f-4300-9c59-b26f28e17323@j36g2000prh.googlegroups.com> <9gloupFf3oU1@mid.individual.net> <j84mmv$6b7$1@dont-email.me> <0aec9e49-b7d2-4afd-9f8f-07a2d07392ca@k13g2000prg.googlegroups.com>

Show all headers | View raw


On Oct 25, 8:31 am, sahm <sahm...@gmail.com> wrote:
> On Oct 25, 12:52 am, markspace <-@.> wrote:
>
> > On 10/24/2011 11:26 AM, Robert Klemme wrote:
>
> > > AFAIK there is no guarantee that isReachable() does a ping:
> > >http://download.oracle.com/javase/6/docs/api/java/net/InetAddress.htm...)
>
> > The important part of that document being the phrase "if permission can
> > be obtained."  If you're running in an applet or some other restricted
> > environment, per mission might be denied to even make the attempt.
>
> > I'm curious what a network trace would show.
>
> Hi
> isReachable() is working fine in my local network (192.168.1.0) but
> not working in external network
>
> Best
> Salim

All I want to do is simple function that can check if there is
Internet connection or Not ?

Best
Salim

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Ping from JAVA to IP Address sahm <sahm007@gmail.com> - 2011-10-24 11:01 -0700
  Re: Ping from JAVA to IP Address Robert Klemme <shortcutter@googlemail.com> - 2011-10-24 20:26 +0200
    Re: Ping from JAVA to IP Address markspace <-@.> - 2011-10-24 14:52 -0700
      Re: Ping from JAVA to IP Address sahm <sahm007@gmail.com> - 2011-10-24 22:31 -0700
        Re: Ping from JAVA to IP Address sahm <sahm007@gmail.com> - 2011-10-25 01:56 -0700
          Re: Ping from JAVA to IP Address Screamin Lord Byron <scre@min.dot> - 2011-10-25 11:57 +0200
          Re: Ping from JAVA to IP Address markspace <-@.> - 2011-10-25 08:12 -0700
            Re: Ping from JAVA to IP Address Screamin Lord Byron <scre@min.dot> - 2011-10-25 22:13 +0200
              Re: Ping from JAVA to IP Address markspace <-@.> - 2011-10-25 16:02 -0700
                Re: Ping from JAVA to IP Address Screamin Lord Byron <scre@min.dot> - 2011-10-26 13:16 +0200
  Re: Ping from JAVA to IP Address Roedy Green <see_website@mindprod.com.invalid> - 2011-10-25 21:28 -0700

csiph-web