Date: 2004-12-04T11:47:20
Editor: RoryWinston <[EMAIL PROTECTED]>
Wiki: Jakarta Commons Wiki
Page: Net/FrequentlyAskedQuestions
URL: http://wiki.apache.org/jakarta-commons/Net/FrequentlyAskedQuestions
no comment
Change Log:
------------------------------------------------------------------------------
@@ -123,14 +123,15 @@
The summary is:
-<pre>
+
Since the Net project uses java.net.Socket under the covers, you have to set
up the Socket settings. If the proxy you are using is a SOCKS4 or SOCKS5
proxy, you can set the following System Properties:
+{{{
System.getProperties().put( "socksProxyPort", "1080");
System.getProperties().put( "socksProxyHost" ,"proxy.host.address");
-
+}}}
From what I can tell, 1080 is the default port for SOCKS proxies. The
following site documents many of the networking System Properties available:
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]