I agree with Roland's assessment. I think your only option is to implement a ProtocolSocketFactory that creates SOCKS proxied sockets. To my knowledge there is no public way to configure Sun's sockets for SOCKS on a per instance method. You may need to build your own client side SOCKS support if there is no way to make use of the built-in methods.
Mike
On Apr 14, 2004, at 1:04 PM, Sam Berlin wrote:
Hi All,
The website states the SOCKS proxies are supported by the setting the native java properties that convert Sockets to using SOCKS internally. Unfortunately, this solution is not possible for us, as we need to be able to create Sockets sometimes with and sometimes without SOCKS.
How would one go about implementing SOCKS as an additional proxying method (on the 2.0 code)? Some rough pointers to the general classes that require changes would be useful.
Thanks much, Sam
---------------------------------------------------------------------
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]