How to set socket proxy in NIO?
How to use socket proxy in NIO?
Our socket Server program is hinding a firewall, so our client have to use a socket proxy to visit server.
We can set socket proxy by using block socket as blow:
System.getProperties().put("socksProxySet","true");
System.getProperties().put("socksProxyHost",proxyHost);
System.getProperties().put("socksProxyPort",proxyPort);
But these codes can't work when we use non-block socket .
Who can help me?
thanks!

