Class TcpKeepAlive
TcpKeepAlive class used to group all the different properties used for working with TCP keep-alives.
public class TcpKeepAlive
- Inheritance
-
TcpKeepAlive
- Inherited Members
Constructors
TcpKeepAlive()
public TcpKeepAlive()
Properties
Enabled
Specifies if TCP keep-alive is enabled or disabled. The default value is false for all services except Lambda.
public bool Enabled { get; set; }
Property Value
Interval
The interval before retrying a TCP keep-alive packet that did not receive an acknowledgement. The interval must be greater than 0 seconds and not null if Enabled is set to true. The default value is 15 seconds.
public TimeSpan? Interval { get; set; }
Property Value
Timeout
The timeout before a TCP keep-alive packet will be sent. The timeout value must be greater than 0 seconds and not null if Enabled is set to true. The default value is 5 minutes.
public TimeSpan? Timeout { get; set; }