If timeout is 0, linger is disabled, otherwise enables the linger and sets the timeout.
System dependent constructor.
Sets timeout period, to wait before closing the socket if the $(D_PSYMBOL Linger) is $(D_PSYMBOL enabled), ignored otherwise.
Time, in seconds to wait before any buffered data to be sent is discarded.
If nonzero, $(D_PSYMBOL close) and $(D_PSYMBOL shutdown) block until the data are transmitted or the timeout period has expired.
Socket option that specifies what should happen when the socket that promises reliable delivery still has untransmitted messages when it is closed.