> Some google engineering (search) will show the the variety of
confusion that this causes in cross-platform code.

Start here for some interesting reading -
http://stackoverflow.com/questions/14388706/socket-options-so-reuseaddr-and-so-reuseport-how-do-they-differ-do-they-mean-t
You will find *many* exchanges of details about that.

And yes - originally this was (mostly) for being able to start a server
again after stopping it when sockets were remaining in TIME_WAIT state -
but it wasn't implemented as just that and the semantics have varied.

Tim.

Reply via email to