cURL / Mailing Lists / curl-library / Single Mail


RE: Can't connect: how to find out why ?

From: Vincent Penquerc'h <>
Date: Tue, 8 Oct 2002 16:56:15 +0100

> VERBOSE to 1 is the only available extra info here. Ah, no,
> you should use
> CURLOPT_ERRORBUFFER to get the error text as well, it'll

Doesn't get set at all :/

  char c_error[CURL_ERROR_SIZE];
  if (code!=CURLE_OK) goto alogg_start_streaming_url_error;
  printf("curl error: %s\n",c_error);

About to connect() to
Closing connection #0
curl error: <pristine>
Error opening

I've also commented out the block size setting, to no avail.
Well, if you don't spot newbie mistakes in what I sent, I guess
I'll go the printf way.


Vincent Penquerc'h 
This email is sponsored by:ThinkGeek
Welcome to geek heaven.
Received on 2002-10-08