Yes Dan,
What you said is partially correct. Daemon is listening at
127.0.0.1:8888, but just before echos it back I am trying to use libcurl to
get(HTTPGET) it.
So here my question is that, is there any way in libcurl to listen
on this & to respond. Shortly can I write a sample HTTP server using
libcurl?
-Rajani
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Dan Fandrich
Sent: Tuesday, July 20, 2010 11:02 PM
To: [email protected]
Subject: Re: doubt on curl_easy_perform
On Tue, Jul 20, 2010 at 05:52:38PM +0530, Rajanikanth wrote:
> Following is my sample program. (NOTE: There is one other
> executable listening a socket at ?127.0.0.1:8888? and it just returns what
it
> received)
Are you saying that the daemon listening at 127.0.0.1:8888 just echos back
what it's sent? That means that it's not an HTTP server, so just what do
you expect should happen when libcurl sends an HTTP request?
>>> Dan
-------------------------------------------------------------------
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