示例#1
0
 /// <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();
 }
示例#2
0
 /// <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();
 }