cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: CURLINFO_HTTP_CONNECTCODE problem

From: Jeff Pohlmeyer <yetanothergeek_at_gmail.com>
Date: Tue, 1 May 2007 17:51:09 -0500

Also note that the CONNECTCODE value will be set in the third
argument, *not* in the return value of curl_easy_getinfo...

CURLcode ReturnValue;
long ConnectCode;

ReturnValue = curl_easy_getinfo(curl, CURLINFO_HTTP_CONNECTCODE, &ConnectCode);

printf("Connect code is %ld", ConnectCode);

 - Jeff
Received on 2007-05-02