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:
http://lists.apple.com/mailman/options/macnetworkprog/email@hidden