cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Can I use libcurl proxy support only?

From: Armel Asselin <asselin.armel_at_wanadoo.fr>
Date: Fri, 8 Dec 2006 10:59:17 +0100

> Hi All,
>
> I'm looking for a proxy client library to wrap my custom TCP-based
> protocol through proxy servers. I use port 443 in order to let proxies
> pass the data without stateful HTTP inspection (since my protocol is not
> HTTP).
>
> Basically, what I need is some kind of proxy-aware connect() function that
> would connect a socket to my server through the proxy.
> Can libcurl help me?
>
> Note: I've found a proxy-client lib (httppc.sourceforge.net) but it
> doesn't support NTLM authentication unfortunately (also, they don't say
> anything about Windows support).
>
> TIA,
>
> Serge.
> http://www.apptranslator.com
if I remember well there is some kind of 'connection only' option, together
with a info 'last socket'.
see http://curl.haxx.se/libcurl/c/curl_easy_getinfo.html
(CURLINFO_LASTSOCKET) and
http://curl.haxx.se/libcurl/c/curl_easy_setopt.html (CURLOPT_CONNECT_ONLY)

Armel
Received on 2006-12-08