开发者

Recommendations for a Java IRC client library that supports Socks proxies? [closed]

开发者 https://www.devze.com 2023-03-09 04:05 出处:网络
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.

Closed 8 years ago.

Improve this question

I'm looking for a decent Java IRC client libra开发者_开发知识库ry that supports connecting to an IRC server through a socks proxy. Any recommendations?


You should be able to just do

System.setProperty("socksProxyHost","{proxy host IP}");
System.setProperty("socksProxyPort","{proxy port}");

just before you open the IRC connection and then

System.setProperty("socksProxyHost", null);
System.setProperty("socksProxyPort", null);

after the connection has been established to undo it. That SHOULD work for even PircBot.

Let me know if it works.

0

精彩评论

暂无评论...
验证码 换一张
取 消