Re: Problem with restarting server
Re: Problem with restarting server
- Subject: Re: Problem with restarting server
- From: Frederick Cheung <email@hidden>
- Date: Wed, 17 Aug 2005 19:55:47 +0100
On 17 Aug 2005, at 19:51, ptr wrote:
Hi,
I have a problem with restarting my tcp server. I'm using AF_INET,
SOCK_STREAM
sockets. I close server socket and then i want to run server again on
the same port, but I receive error during bind. I must wait from
30secs
up to 2minutes and then it is possible to run server again.
This is normal default behaviour. You can disable it with the
SO_REUSEADDR and SO_REUSEPort socket options.
Ffred
_______________________________________________
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