Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    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"; Handle; Value )

Parameters

Parameter Description Example value
Handle 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:

CURL_IPRESOLVE_WHATEVER0Default, resolves addresses to all IP versions that your system allows.
CURL_IPRESOLVE_V41Resolve to IPv4 addresses.
CURL_IPRESOLVE_V62Resolve to IPv6 addresses.

See also


CURL.SetOptionHeader   -   CURL.SetOptionIgnoreContentLength

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins