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

CURL.SetOptionAcceptTimeoutMS

Sets time-out for accept.

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

Parameters

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

Result

Returns OK or error.

Description

Sets time-out for accept.
Time-out accept operations (currently for FTP only) after this amount of milliseconds.

See also ACCEPTTIMEOUT_MS option in CURL manual.

Examples

Accept timeout 5 seconds:

Set Variable [$r; Value: MBS("CURL.SetOptionAcceptTimeoutMS"; $curl; 5000)]

See also

Created 15th April 2018, last changed 22nd February 2026


CURL.SetOptionAcceptEncoding - CURL.SetOptionAddressScope