Inspirel banner

Programming Distributed Systems with YAMI4

4.3.2 TCP Reuse Server Address

The reuse flag for binding server addresses allows listeners to be set up even though there is an already existing socket on the given local port.

This flag can be useful on Unix systems, where server sockets are kept around in the system for some time even after the server process was terminated. Without the possibility to reuse the existing address the listener will not be established, which might prevent the whole server to start up properly if it is restarted shortly after it was last terminated.

Property name: "tcp_reuseaddr".

Property type: boolean.

Default value: true.