View source code Display the source code in etc/c/curl.d from which this page was generated on github. Improve this page Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using local clone. Page wiki View or edit the community-maintained wiki page associated with this page.

Enum etc.c.curl.CurlIpResolve

Below here follows defines for the CURLOPT_IPRESOLVE option. If a host name resolves addresses using more than one IP protocol version, this option might be handy to force libcurl to use a specific IP version.

The enum base type is int .

Enum members

Name Description
v4 resolve to ipv4 addresses
v6 resolve to ipv6 addresses
whatever default, resolves addresses to all IP versions that your system allows

Authors

License

Comments