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


Sets the connect to list.

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


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


Returns OK or error.


Sets the connect to list.
Sets list of host:port:connect-to-host:connect-to-port, overrides the URL's host:port (only for the network layer)

This function takes variable number of parameters. Pass as much parameters as needed separated by the semicolon in FileMaker.
Please repeat Value parameter as often as you need.

See also CONNECT_TO option in CURL manual.

See also

Created 15th April 2018, last changed 5th June 2021

CURL.SetOptionConnectTimeoutMS - CURL.SetOptionConnectionTimeout