Hello Carlo,
> I've just tried opening a socket, but when there is no connection to the
> Internet, socket sends me an error only after 2/3 minutes.... Is possible
to set
> a time-out to open a socket?? I've already read jdk docs but i've found
nothing
> like this....
If you know a host which responds to UDP, then use a DatagramSocket. You
can
then set the timeout for the receive() call
Peter Tellenbach
___________________________________________________________________________
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