On Mon, 2010-01-25 at 10:57 +0800, Jeprotea wrote:
> Hi,Oleg
>     I'm using HttpClient-4 and I'm trying to socket connections over a
> special proxy. To do this I've consulted httpclient-4 tutorial,there are
> only some simple explanations about
> OperatedClientConnection,ClientConnectionOperator
> and so on,however,i have no idea how to create sockets connection to a
> socks4/5 proxy,if there needs others classes,and how about their call
> relation,I'll be apreciated if you can give me special advices.I have known
> so far:first,to creat a socket via SocketFactory, and then to get the socket
> by OperatedClientConnection instances,finally, to create connections via
> ClientConnectionOperator.
> if i misunderstand it ?
> 
> please help
> 
> thanks,
> Jeprotea

SOCKS protocol works directly with Java Socket objects therefore does
not require any special support on the HTTP transport level. If a Socket
instance is configured to connect to a SOCKS proxy, no special
configuration is required for HttpClient 

Oleg


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to