Class LingerOption
Contains information for a socket's linger time, the amount of time it will remain after closing if data remains to be sent.
public class LingerOption
- Inheritance
-
LingerOption
- Inherited Members
- Extension Methods
Constructors
LingerOption(bool, int)
Initializes a new instance of the LingerOption
public LingerOption(bool enable, int seconds)
Parameters
Properties
Enabled
Enables or disables lingering after close.
public bool Enabled { get; set; }
Property Value
LingerTime
The amount of time, in seconds, to remain connected after a close.
public int LingerTime { get; set; }