cURL / Mailing Lists / curl-library / Single Mail

curl-library

Error Handling By CURLCode

From: jafrif <jafrif_at_yahoo.com>
Date: Mon, 3 Mar 2003 23:55:29 -0800 (PST)

Hello,
this is code
 res=curl_easy_setopt(curl, CURLOPT_URL,
"http://10.1.2./php/msg.php");

cout<<res;

I write wrong url or php script but res outputs 0 in
that case also.. please help me asap. I want error
code other than 0 when php not found (404) error etc.
Hope u understand my problem...

Regards,

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
for complex code. Debugging C/C++ programs can leave you feeling lost and
disoriented. TotalView can help you find your way. Available on major UNIX
and Linux platforms. Try it free. www.etnus.com
Received on 2003-03-04