Re: connect() timeout after server restarts
Re: connect() timeout after server restarts
- Subject: Re: connect() timeout after server restarts
- From: Josh Graessley <email@hidden>
- Date: Mon, 17 Oct 2005 10:01:16 -0700
Use SO_REUSEADDR for TCP sockets when you're writing a process that
is listening.
Use SO_REUSEPORT with UDP sockets. This is usually for multicast
sockets where there may be more than one listener.
-josh
On Oct 17, 2005, at 4:18 AM, Peter Lovell wrote:
Nagle algorithm is disabled, NO_DELAY is enabled and SO_REUSEADDR is
enabled for the sockets.
I believe that you need SO_REUSEPORT as well as SO_REUSEADDR. Some
stacks use one flag to reuse both port and address but ...
Regards.....Peter
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40apple.com
This email sent to email@hidden
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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