Re: Socket-Option in POSIX-sockets, to allow traffic via proxy
From: Phil Turmel
Date: Wed Mar 30 2016 - 10:52:41 EST
On 03/29/2016 03:27 AM, Ajay Garg wrote:
> Hi All.
> Surprisingly, I could not find this on google :-\
> We are trying to use vanilla POSIX-socket-APIs, but we are unable to
> connect if the URL is on the other side of the proxy.
> Is there a socket-option wherein this would be allowed?
> I will be grateful for any pointers.
This isn't a socket level operation, except to connect to the proxy.
Google suggests using libproxy and/or libcurl.