Constructs and initializes a new instance of the System.Net.Sockets.LingerOption class.
- enable
- A bool where true enables the linger option and false disables the option.
- secs
- Documentation for this section has not yet been entered.
The System.Net.Sockets.LingerOption instance is created with the LingerOption.Enabled property set to enable and the LingerOption.LingerTime property set to seconds.
Namespace: System.Net.Sockets
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0