Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
13.5
Statistic
FMM
Blog
Allows an application to select what kind of IP addresses to use when resolving host names.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
CURL | 2.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example |
---|---|---|
curl | The CURL session handle. | $curl |
Value | Whether to use IPv4 and/or IPv6. | 2 |
Returns "OK" on success.
IP Resolve Default | 0 | Default, resolves addresses to all IP versions that your system allows. |
IP Resolve v4 | 1 | Resolve to IPv4 addresses. |
IP Resolve v6 | 2 | Resolve to IPv6 addresses. |
See also IPRESOLVE option in CURL manual.
Created 18th August 2014, last changed 25th November 2017
CURL.SetOptionHeaderOptions - CURL.SetOptionIgnoreContentLength