hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeprotea <jepro...@gmail.com>
Subject Re: How to access socks4/5 proxy
Date Mon, 25 Jan 2010 09:50:06 GMT
thanks for your advices! Oleg, i'll try it ~~

On Mon, Jan 25, 2010 at 5:24 PM, Oleg Kalnichevski <olegk@apache.org> wrote:

> 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: httpclient-users-unsubscribe@hc.apache.org
> For additional commands, e-mail: httpclient-users-help@hc.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message