Establishing a connection

Top  Previous  Next

You may establish a connection to an NNTP server by constructing a new Nntp instance providing the server hostname as an argument to the constructor and invoking the Nntp#connect method.

 

Example

 

// create new Nntp instance

Nntp nntp = new Nntp("news.server.com");

 

// establish connection

nntp.connect();





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

© 2021 JSCAPE LLC