tags:

views:

119

answers:

1

Hi,

I want to implement proxy support (SOCKS5 and HTTP CONNECT method) in my application. There are two parts that needs to be implemented:

  1. Detection of proxy details (protocol, host, port): I am using libproxy for that.
  2. Connecting to the the proxy server and telling it to relay the packets. Get the connected socket and then use it in your application.

Is there library for the #2 part?

+1  A: 

You might be able to hack libmicrohttpd into doing what you want without too much effort, at least as far as the user end. I'm not aware of anything that does what you want straight out of the box.

Tim Post
You are right. I could not find any such library! Accepting your answer. I am going write the proxy stuff myself.
Sabya