| TcpTextClientKeepAliveTcp Method |
Sets TCP protocol keep alive (SO_KEEPALIVE) option on.
Namespace:
Limilabs.FTP.Client
Assembly:
Ftp (in Ftp.dll) Version: 2.0.22214.1022
Syntax public void KeepAliveTcp(
TimeSpan keepAliveTime,
TimeSpan keepAliveInterval
)
Public Sub KeepAliveTcp (
keepAliveTime As TimeSpan,
keepAliveInterval As TimeSpan
)
public:
void KeepAliveTcp(
TimeSpan keepAliveTime,
TimeSpan keepAliveInterval
)
member KeepAliveTcp :
keepAliveTime : TimeSpan *
keepAliveInterval : TimeSpan -> unit
Parameters
- keepAliveTime
- Type: SystemTimeSpan
Duration between two keepalive transmissions in idle condition (TCP protocol default is 2h). - keepAliveInterval
- Type: SystemTimeSpan
Duration between two successive keepalive retransmissions, if acknowledgement to the previous keepalive transmission is not received (TCP protocol default is 1s).
See Also