you can google SO_REUSEADDR socket option. this option will allow you
reuse the address.
? 2013?06?20? 09:54, Neeraj Rai ??:
Hi,
I am having trouble with my server restarts.
If a client has connected, even if it later disconnects, the listener
socket is put in TIME_WAIT state on shutdown.
I have to wait a while to restart.
setting so_linger didn't seem to help either. I am closing both ends
and stopping watchers before exit.
Has anyone run into this ?
thanks
Neeraj
_______________________________________________
libev mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev
_______________________________________________
libev mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev