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: 12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    Statistic    FMM    Blog  

CURL.SetOptionTCPKeepInterval

Set TCP keep-alive interval.

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

Parameters

Parameter Description Example
curl The CURL session handle. $curl
Value The new value. 60

Result

Returns OK or error.

Description

Set TCP keep-alive interval.
Sets the interval, in seconds, that the operating system will wait between sending keepalive probes. Not all operating systems support this option.

See also TCP_KEEPINTVL option in CURL manual.

See also

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


CURL.SetOptionTCPKeepIdle - CURL.SetOptionTCPNoDelay

💬 Ask a question or report a problem