aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-12-08 13:59:35 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-12-08 13:59:35 +0000
commit7e3cd82b5028546cff19bfc8fcb95c5001c26d33 (patch)
treeda2ff3c70498a23095fb8c407a3f5e226d6ca719 /docs
parentbc372815a85bc7b5c7091aaf4d739eb73ed821b6 (diff)
updated 5.5 to use the modern names of these defines
Diffstat (limited to 'docs')
-rw-r--r--docs/FAQ16
1 files changed, 9 insertions, 7 deletions
diff --git a/docs/FAQ b/docs/FAQ
index 1e5244a28..93413e531 100644
--- a/docs/FAQ
+++ b/docs/FAQ
@@ -1,4 +1,4 @@
-Updated: June 17, 2003 (http://curl.haxx.se/docs/faq.html)
+Updated: December 8, 2003 (http://curl.haxx.se/docs/faq.html)
_ _ ____ _
___| | | | _ \| |
/ __| | | | |_) | |
@@ -66,7 +66,7 @@ FAQ
5.2 How can I receive all data into a large memory chunk?
5.3 How do I fetch multiple files with libcurl?
5.4 Does libcurl do Winsock initing on win32 systems?
- 5.5 Does CURLOPT_FILE and CURLOPT_INFILE work on win32 ?
+ 5.5 Does CURLOPT_WRITEDATA and CURLOPT_READDATA work on win32 ?
5.6 What about Keep-Alive or persistent connections?
5.7 Link errors when building libcurl on Windows!
@@ -699,13 +699,15 @@ FAQ
Yes, if told to in the curl_global_init() call.
- 5.5 Does CURLOPT_FILE and CURLOPT_INFILE work on win32 ?
+ 5.5 Does CURLOPT_WRITEDATA and CURLOPT_READDATA work on win32 ?
Yes, but you cannot open a FILE * and pass the pointer to a DLL and have
- that DLL use the FILE *. If you set CURLOPT_FILE you must also use
- CURLOPT_WRITEFUNCTION as well to set a function that writes the file, even
- if that simply writes the data to the specified FILE*. Similarly, if you use
- CURLOPT_INFILE you must also specify CURLOPT_READFUNCTION.
+ that DLL use the FILE * (as the DLL and the client application cannot access
+ each others' variable memory areas). If you set CURLOPT_WRITEDATA you must
+ also use CURLOPT_WRITEFUNCTION as well to set a function that writes the
+ file, even if that simply writes the data to the specified FILE *.
+ Similarly, if you use CURLOPT_READDATA you must also specify
+ CURLOPT_READFUNCTION.
(Provided by Joel DeYoung and Bob Schader)