cURL / Mailing Lists / curl-library / Single Mail

curl-library

curl_easy_perform() return error code 6 (CURLE_COULDNT_RESOLVE_HOST)

From: palkeo <palkeo_at_gmail.com>
Date: Wed, 31 Dec 2008 15:10:44 +0100

Hi all,

I have made a C++ program on my PC, and it use cURL.
On my PC, it works very well, but i want to use it on my server.
I have put the binary on my server, but the call to curl_easy_perform()
always return error code 6, i don't know why.
But i can resolve DNS. If i use the "curl" command to get an url, it works !

Can someone please tell me how to solve this problem ?
Thanks in advance,
palkeo
Received on 2008-12-31