/// <summary> /// Connect to the server. /// </summary> public void Connect() { CLog.Log(Constants.Log.Info, "SRV_CONNECTING", this.Name); if (m_ServerConnection != null) { m_ServerConnection.CloseConnection(); } m_ServerConnection = new CedonkeyServerConexion(this); m_ServerConnection.Connect(); }
/// <summary> /// Connect to the server. /// </summary> public void Connect() { CLog.Log(Constants.Log.Info,"SRV_CONNECTING",this.Name); if (m_ServerConnection!=null) m_ServerConnection.CloseConnection(); m_ServerConnection=new CedonkeyServerConexion(this); m_ServerConnection.Connect(); }