AsyncSocket.bind

allowQuickRestart will set the SO_REUSEADDR on unix and SO_DONTLINGER on Windows, allowing the application to be quickly restarted despite there still potentially being pending data in the tcp stack.

See https://stackoverflow.com/questions/3229860/what-is-the-meaning-of-so-reuseaddr-setsockopt-option-linux for more information.

If you already set your appropriate socket options or value correctness and reliability of the network stream over restart speed, leave this at the default false.

class AsyncSocket
void
bind

Meta