cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curlpp mailing list Archives

[cURLpp] gettign error 7:no such file or directory

From: Deepali Parkhi <deepaliparkhi_at_bubblemotion.com>
Date: Tue, 8 May 2007 19:39:07 -0700

Hi all,

Shall b thankful if anybdy could help me in this!

i am having following setopts
      int iRet = curl_easy_setopt(curl, CURLOPT_URL, balance_url);
        iRet = curl_easy_setopt(curl, CURLOPT_USERPWD, "isayuid:pwd1s4y");
        iRet = curl_easy_setopt(curl, CURLOPT_PORT, 8282);
        iRet = curl_easy_setopt(curl, CURLOPT_TIMEOUT, 0);
        iRet = curl_easy_setopt(curl, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);
        iRet = curl_easy_setopt(curl, CURLOPT_NOSIGNAL );
        iRet = curl_easy_setopt(curl, CURLOPT_POST, 1);
        iRet = curl_easy_setopt(curl, CURLOPT_POSTFIELDS, data);
        iRet = curl_easy_setopt(curl, CURLOPT_URL, balance_url);
        iRet = curl_easy_setopt(curl, CURLOPT_HEADERFUNCTION, readheaders);
        iRet = curl_easy_setopt(curl, CURLOPT_HEADERDATA, &headers);
        iRet = curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, readdata);
        iRet = curl_easy_setopt(curl, CURLOPT_WRITEDATA, resultBuff);
        iRet = curl_easy_setopt(curl, CURLOPT_NOPROGRESS, 1);
        iRet = curl_easy_setopt(curl, CURLOPT_ERRORBUFFER, error );
        iRet = curl_easy_setopt(curl, CURLOPT_VERBOSE, 1);
        int curlreturn = curl_easy_perform(curl);

when i test this with sample program curl is able to get connectde to url and returns approriate results.
But when i try to do the same thru my multithreaded application, it returns
* About to connect() to 192.168.31.82 port 8282
* Trying 192.168.31.82... * Failed to connect to 192.168.31.82: No such file or directory
* Error 0
* Closing connection #0

curl returned 7
===Failed to connect to 192.168.31.82: No such file or directory===

Can anybdy help me resolve this?
Thanks,
Deepali

_______________________________________________
cURLpp mailing list
cURLpp_at_rrette.com
http://www.rrette.com/mailman/listinfo/curlpp
Received on 2007-05-09

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET