Meebey.SmartIrc4net.IrcConnection.Reconnect C# (CSharp) Method

Reconnect() public method

Reconnects to the server
/// If there was no active connection /// /// The connection failed /// /// If there is already an active connection ///
public Reconnect ( ) : void
return void
        public void Reconnect()
        {
            #if LOG4NET
            Logger.Connection.Info("reconnecting...");
            #endif
            Disconnect();
            Connect(_AddressList, _Port);
        }