cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: send data over socket using libcurl

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Wed, 7 Jan 2009 21:57:21 -0800

On Thu, Jan 08, 2009 at 10:02:13AM +0530, Dhiren wrote:
> I have to write a application that send data over socket by using curl-library
> via Proxy so can you provide me a basic code for this .

You probably want to use the CURLOPT_CONNECT_ONLY option for this in addition
to CURLOPT_HTTPPROXYTUNNEL so it doesn't actually send an HTTP request over
the tunnel once it's established.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2009-01-08