Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

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