socket already in use error on server
fatmck at 163.com
Thu Jun 20 03:58:55 CEST 2013
you can google SO_REUSEADDR socket option. this option will allow you
reuse the address.
? 2013?06?20? 09:54, Neeraj Rai ??:
> 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 ?
> libev mailing list
> libev at lists.schmorp.de
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the libev