Re: Time out a connect() call
Re: Time out a connect() call
- Subject: Re: Time out a connect() call
- From: Nathan Sims <email@hidden>
- Date: Mon, 28 Feb 2011 15:18:36 -0800
On Feb 28, 2011, at 1:19 PM, Josh Graessley wrote:
> There is a socket option that will let you adjust the TCP connection timeout. Changing the timeout does not address the issue that 5 seconds can feel like an eternity, and any timeout short enough to not feel like an eternity is unlikely to be long enough to satisfy every situation.
Do you mean socket option SO_RCVTIMEO or is there one specifically for connect()? The reason I'm wanting to set it down so low is because it's for use on a dedicated intranet, and the destination is either there or it's not, so 5 to 10 seconds is generous in this case.
Thanks
- Nate
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden