On Tue, 2006-02-21 at 11:09 -0800, Chandra Mouleeswaran wrote:
> Hi,
> 
> My understanding looking at the httpclient 3.0 features was that SOCKS 
> proxy support was integral part of the code.
> However, I don't see any API which can take a Proxy object as argument 
> and create a socket using jdk 1.5's
> SOCKS support.
> 
> Kindly clarify how SOCKS is supported in 3.0
> 

HttpClient does not support SOCKS proxying directly. However, it can
make use of whatever support the JRE provides. if the underlying JRE is
capable of opening sockets via a SOCKS server, so is HttpClient.  

One can also consider implementing a custom socket factory that makes
use of jdk 1.5 functionality and registering it as a default protocol
socket factory for the desired protocol scheme.

Hope that clarifies things a little

Oleg

> Thanks a lot.
> 
> - Chandra
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to