Location: PHPKode > scripts > Usenet Downloader > usenet-downloader/connect.inc
<?php
require "nntp.inc";

function ConnectToServer($server)
	{
		$nntp = new nntp; 
		$common = new nntpcommon;		

		if(!$nntp->connect($server)) 
			{
    				//die ("Connection failed\n");
				return false;
			}
		return $nntp;		
	}
?>
Return current item: Usenet Downloader