classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: URLConnection and Timeouts


From: Victor Niebla
Subject: Re: URLConnection and Timeouts
Date: Tue, 02 Dec 2003 11:39:47 +0100
User-agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.5) Gecko/20031110 Debian/1.5-3


It's not documented, but I don't think that connect(SocketAddress)
should time out.

Surely anyone who wants a timeout should use connect(SocketAddress endpoint, int timeout)
If you connect by your self you can choose the connect method
with timeout as a param, but when you connect with a URL, i think
you can't!





reply via email to

[Prev in Thread] Current Thread [Next in Thread]