Article View: borland.public.jbuilder.java.language
Article #18593Re: How can I verify if I am connected to Internet
From: Steve Waters
Date: Wed, 27 May 1998 00:00
Date: Wed, 27 May 1998 00:00
22 lines
1260 bytes
1260 bytes
create a stream that connects to an echo port, if you dont get an answer back form the port then you are not connected, so you can take whatever action you need >How can I verify if I am connected to the Internet , I want to use the >sockets and URL components , but they raise exceptions if it is not >connected . > >-- >--------------------------------------------------------------------------- - >---------------- >Gustavo Dutra Martins Interbrain Sistemas > 327-5296 205-0143 >dutra@trip.com.br gustavo@interbrain.com.br >--------------------------------------------------------------------------- - >--------------- > >
Technical Details
Message-ID:
<6khp49$aj73@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<6k9lr8$4mr1@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,13e5504bc694d52 X-Google-Attributes: gidf74b3,public From: "Steve Waters" <truebrit@pacbell.net> Subject: Re: How can I verify if I am connected to Internet Date: 1998/05/27 Message-ID: <6khp49$aj73@forums.borland.com> X-Deja-AN: 357067414 References: <6k9lr8$4mr1@forums.borland.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Organization: Another Netscape Collabra Server User Newsgroups: borland.public.jbuilder.java.language