Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5   8.6    Statistic  

CURL.SetOptionIPResolve

Allows an application to select what kind of IP addresses to use when resolving host names.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
CURL 2.5 Yes Yes Yes Yes Yes
MBS( "CURL.SetOptionIPResolve"; curl; Value )   More

Parameters

Parameter Description Example value
curl The CURL session handle. $curl
Value Whether to use IPv4 and/or IPv6. 2

Result

Returns "OK" on success.

Description

Allows an application to select what kind of IP addresses to use when resolving host names.
This is only interesting when using host names that resolve addresses using more than one version of IP. The allowed values are:

IP Resolve Default0Default, resolves addresses to all IP versions that your system allows.
IP Resolve v41Resolve to IPv4 addresses.
IP Resolve v62Resolve to IPv6 addresses.

See also IPRESOLVE option in CURL manual.

See also

Created 18th August 2014, last changed 25th November 2017


CURL.SetOptionHeaderOptions   -   CURL.SetOptionIgnoreContentLength

Feedback: Report problem or ask question.




Links
MBS Xojo PDF Plugins