Meet us at at Real World in Orlando, Florida.

All functions   Mac OS X   Windows   Crossplatform   Components   Guides  
New in version: 2.0   2.1   2.2   2.3   2.4   2.5   2.6   2.7   2.8  

CURL.SetOptionIPResolve

Component: CURL
Version: 2.5
Mac OS X: Works
Windows: Works

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.

Feedback: Report problem or ask question.




Links
MBS Real Studio Chart Plugins - Pfarrgemeinde Messdiener Nickenich