Connecting thru a proxy server |
The Nntp class allows for connections through SOCKS4 and SOCKS5 proxy servers. To use a proxy server invoke the Nntp#setProxyHost and Nntp#setProxyPort methods passing a proxy hostname and port as arguments respectively.
Example
// set proxy host nntp.setProxyHost("proxy.server.com");
// set proxy port nntp.setProxyPort(119); |