> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Subject: Re: What governs a URL connection timeout?
> 
> It's possible that (the other) Chris is using a library

The OP already posted the code of interest, and it would be simple to modify it 
to set an appropriate timeout value, as Peter pointed out.  Just replace:

    InputStream t_inputStream = t_url.openStream();

with

    URLConnection t_connection = t_url.openConnection();
    t_connection.setReadTimeout(desiredValue);
    InputStream t_inputStrem = t_connection.getInputStream();

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.

Reply via email to