Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

CURL.SetOptionTCPKeepIdle

Set TCP keep-alive idle time wait.

Component Version macOS Windows Linux Server iOS SDK
CURL 5.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "CURL.SetOptionTCPKeepIdle"; curl; Value )   More

Parameters

Parameter Description Example
curl The CURL session handle. $curl
Value The new setting. 120

Result

Returns OK or error.

Description

Set TCP keep-alive idle time wait.
Sets the delay, in seconds, that the operating system will wait while the connection is idle before sending keepalive probes. Not all operating systems support this option.

See also TCP_KEEPIDLE option in CURL manual.

See also

Created 8th July 2015, last changed 9th July 2015


CURL.SetOptionTCPKeepAlive - CURL.SetOptionTCPKeepInterval

Feedback: Report problem or ask question.