Connecting thru a proxy server

Top  Previous  Next

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);





Home | Company | Products | Solutions | Purchase | Support | Services | Blog

© 2021 JSCAPE LLC