IrcDotNet.IrcClient.SendMessageConnect C# (CSharp) Method

SendMessageConnect() protected method

Sends a request for the server to try to connect to another server.
protected SendMessageConnect ( string hostName, int port, string targetServer = null ) : void
hostName string The host name of the other server to which the server should connect.
port int The port on the other server to which the server should connect.
targetServer string /// The name of the server to which to forward the message, or /// for the current server. ///
return void
        protected void SendMessageConnect(string hostName, int port, string targetServer = null)
        {
            WriteMessage(null, "connect", hostName, port.ToString(), targetServer);
        }
IrcClient