SocketChannel with socksProxy JVM args
Rodrick Brown <[email protected]> Fri, 5 Dec 2008 14:14:23 -0500
| Newsgroups | gmane.comp.windows.devel.java.advanced |
|---|---|
| Message-ID | <[email protected]> |
I've tested using my application through a socks proxy using the JVM's built
in socks support
ie. -DsocksProxyHost=host -DsocksProxyPort=1080
How ever my application uses SocketChannel which does not seem to be
supported or not sure what's wrong here
ie. the following code does not work
sc.connect(new InetSocketAddress("10.187.11.202", 26161));
Where the following works fine and connects to the proxyhost passed with the
correct flags
Socket socket = new Socket("10.187.11.202",26161);
Anyone know what could be happening here?
--
[ Rodrick R. Brown ]
http://www.rodrickbrown.com http://www.linkedin.com/in/rodrickbrown
===================================
View archives and manage your subscription(s) at http://peach.ease.lsoft.com/archives