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.26109.1248
Syntax
public void KeepAliveTcp(
	TimeSpan keepAliveTime,
	TimeSpan keepAliveInterval
)

Parameters

keepAliveTime  TimeSpan
Duration between two keepalive transmissions in idle condition (TCP protocol default is 2h).
keepAliveInterval  TimeSpan
Duration between two successive keepalive retransmissions, if acknowledgement to the previous keepalive transmission is not received (TCP protocol default is 1s).
See Also