Click or drag to resize

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
)

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