Re: a Timer in a URLConnection



Marcelo <mache_1999@xxxxxxxxx> wrote in
news:438cd21b$1@xxxxxxxxxxxxxxxx:

>
> I would like to make a Timer in order to stop the connection if there
> is no response from the server in a given amount of time. I have this
> kind of code:
>

how about URLConnection:setConnectTimeout(int timeout)

--
Beware the False Authority Syndrome
.



Relevant Pages

  • Re: Is yahoo being hijacked?
    ... I get no server response when query ... > Connection: close ...
    (misc.invest.stocks)
  • Re: Is yahoo being hijacked?
    ... I get no server response when query ... > Connection: close ...
    (misc.invest.stocks)
  • Is yahoo being hijacked?
    ... I get no server response when query ... The server returned the following response headers: ... Connection: close ...
    (misc.invest.stocks)
  • Re: Is yahoo being hijacked?
    ... I get no server response when query ... > Connection: close ...
    (misc.invest.stocks)
  • Re: Problems with access to a web page
    ... Server: Apache ... Connection: close ... Look what I get now when I send the exact same request ... and got exactly the same 0 length response ...
    (microsoft.public.windows.inetexplorer.ie6.browser)