SO_LINGER is the BSD Sockets option to control whether `close()` blocks while pending data is being sent, and if so for how long. By default it is off. It has nothing to do with the TIME_WAIT interval.
SO_LINGER is the BSD Sockets option to control whether close()
blocks while pending data is being sent, and if so for how long. By default it is off. It has nothing to do with the TIME_WAIT interval.