CURLOPT_IPRESOLVE
specify which IP protocol version to use
- Provided by: libcurl4-doc (Version: 7.47.0-1ubuntu2.19)
- Source: curl
- Report a bug
specify which IP protocol version to use
#include <curl/curl.h>
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_IPRESOLVE, long resolve);
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_WHATEVER
All
TODO
Always
Returns CURLE_OK