src/Generator.php
public function ircConnect($targetserver, $port = null, $remoteserver = null)
    {
        return $this->getIrcMessage('CONNECT', array($targetserver, $port, $remoteserver));
    }
public function ircConnect($targetserver, $port = null, $remoteserver = null)
    {
        return $this->getIrcMessage('CONNECT', array($targetserver, $port, $remoteserver));
    }
public function ircConnect ( $ targetserver , $ port = null , $ remoteserver = null ) { return $ this -> getIrcMessage ( 'CONNECT' , array ( $ targetserver , $ port , $ remoteserver ) ) ; }
Returns a CONNECT message.

@param string $targetserver
@param int $port
@param string $remoteserver
@return string
Returns a CONNECT message .