Andrés García added CURLOPT_IPRESOLVE
authorDaniel Stenberg <daniel@haxx.se>
Mon, 22 Dec 2003 10:53:55 +0000 (10:53 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 22 Dec 2003 10:53:55 +0000 (10:53 +0000)
docs/libcurl/curl_easy_setopt.3

index 157b3b6..a718608 100644 (file)
@@ -1,7 +1,7 @@
 .\" nroff -man [file]
 .\" $Id$
 .\"
-.TH curl_easy_setopt 3 "11 Nov 2003" "libcurl 7.10.9" "libcurl Manual"
+.TH curl_easy_setopt 3 "22 Dec 2003" "libcurl 7.11.0" "libcurl Manual"
 .SH NAME
 curl_easy_setopt - set options for a curl easy handle
 .SH SYNOPSIS
@@ -706,6 +706,18 @@ timeouts). See also the \fICURLOPT_TIMEOUT\fP option.
 
 \fBNOTE:\fP this is not recommended to use in unix multi-threaded programs, as
 it uses signals unless \fICURLOPT_NOSIGNAL\fP (see above) is set.
+.IP CURLOPT_IPRESOLVE
+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:
+.RS
+.IP CURL_IPRESOLVE_WHATEVER
+Default, resolves addresses to all IP versions that your system allows.
+.IP CURL_IPRESOLVE_V4
+Resolve to ipv4 addresses.
+.IP CURL_IPRESOLVE_V6
+Resolve to ipv6 addresses.
+.RE
 .SH SSL and SECURITY OPTIONS
 .IP CURLOPT_SSLCERT
 Pass a pointer to a zero terminated string as parameter. The string should be