cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: getting error in curl_easy_perform

From: amit paliwal <amit.ambitions_at_gmail.com>
Date: Wed, 29 Dec 2010 17:30:08 -0500

On Wed, Dec 29, 2010 at 5:26 PM, amit paliwal <amit.ambitions_at_gmail.com>wrote:

>
>
> On Wed, Dec 29, 2010 at 5:17 PM, Daniel Stenberg <daniel_at_haxx.se> wrote:
>
>> On Wed, 29 Dec 2010, amit paliwal wrote:
>>
>> Reply: I am using it on linux (ubuntu). As mentioned in the documentation
>>> CURLOPT_URL is mandatory step. So, I did something like curl_easy_setopt(
>>> ctx , CURLOPT_URL, "http://localhost:4433" ) ; .
>>>
>>
>> So you're asking for a connect to your localhost to the same port you
>> asked the socket to be bound to?
>
>
> Yes the server is listening on 4433, is there somethign wrong with it,
> prefiously i achieved it, but right now somethign is missing.
>
>>
>>
>> To test basic stuff I am running Client and server on the same machine
>>> and trying to communicate between them on loopback. Server is listening on
>>> 127.0.0.1 and port 4433 as it is on loopback.
>>>
>>
>> Then don't bind the localport to 4433 as well.
>
> ?????
>
>>
>> reply: I am able to connect to server now at loopback as server's accept
function is called up, but now a different error is coming. latest error is
no 56 which says "CURLE_RECV_ERROR"

>
>> --
>>
>> / daniel.haxx.se
>> -------------------------------------------------------------------
>> List admin: http://cool.haxx.se/list/listinfo/curl-library
>> Etiquette: http://curl.haxx.se/mail/etiquette.html
>>
>
>

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-12-29