cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Reuse ports

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Mon, 8 Mar 2004 14:45:06 +0100 (CET)

On Mon, 8 Mar 2004, Tburhan wrote:

> The default TIME_WAIT is quite long, I can't afford losing the opportunity
> to transfer data for that long. So perhaps, my question then, is it possible
> to adjust that TIME_WAIT? If it is, where can I do it?

It is setup like that to make TCP work reliably. If you need to tweak it, I
suggest you dig into the docs of your OS.

I would suggest that you check into why libcurl can't re-use the connections
instead. Since re-used connections of course will re-use the same local port.

-- 
    Daniel Stenberg -- http://curl.haxx.se/ -- http://daniel.haxx.se/
   [[ Do not send mails to this email address. They won't reach me. ]]
Received on 2004-03-08