You could try just pinging - or creating any kind of socket - to a machine you
know is not accessible within your network and will accept your ping. There are
I imagine a few to choose from...
Simon
Carlo Indolfi wrote:
> Hi to everyone!!
>
> How can I detect if the Server on which my servlet is running is really
> connected
> to the Internet???
>
> Thank's in advance
> Regards
> Carlo
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html