socket already in use error on server
rneeraj at yahoo.com
Thu Jun 20 03:54:19 CEST 2013
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 ?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the libev