aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-08-12 14:09:10 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-08-12 14:09:10 +0000
commit1d3233612a260c30cd7e7778feb03e9b2981efaa (patch)
treefd852b77bfdbfa065e705492467137bd6b6a0b04 /docs
parent8362a34cef7ecb38519727bd00ed530150ccd6fe (diff)
Added "5.9 How does libcurl resolve host names?" since I wrote the text in
a mail anyway the other day.
Diffstat (limited to 'docs')
-rw-r--r--docs/FAQ21
1 files changed, 21 insertions, 0 deletions
diff --git a/docs/FAQ b/docs/FAQ
index e5cb360fd..8acb5d903 100644
--- a/docs/FAQ
+++ b/docs/FAQ
@@ -72,6 +72,7 @@ FAQ
5.6 What about Keep-Alive or persistent connections?
5.7 Link errors when building libcurl on Windows!
5.8 libcurl.so.3: open failed: No such file or directory
+ 5.9 How does libcurl resolve host names?
6. License Issues
6.1 I have a GPL program, can I use the libcurl library?
@@ -795,6 +796,26 @@ FAQ
'man ld.so' and 'man ld' will tell you more details
+ 5.9 How does libcurl resolve host names?
+
+ libcurl includes a number of different name resolve functions:
+
+ - The non-ipv6 resolver that can use one out of four host name resolve calls
+ (depending on what your system supports):
+
+ A - gethostbyname()
+ B - gethostbyname_r() with 3 arguments
+ C - gethostbyname_r() with 5 arguments
+ D - gethostbyname_r() with 6 arguments
+
+ - The ipv6-resolver that uses getaddrinfo()
+
+ - The c-ares based name resolver that uses the c-ares library for resolves.
+
+ - The Windows threaded resolver. It use:
+
+ A - gethostbyname() on plain ipv4 windows hosts
+ B - getaddrinfo() on ipv6-enabled windows hosts
6. License Issues