예제 #1
0
파일: Server.cs 프로젝트: pengpercy/lphant
        /// <summary>
        /// Send the hello message to the server.
        /// </summary>
        public void SendHello()
        {
            if (m_ServerConnection == null)
            {
                return;
            }
            MemoryStream buffer = new MemoryStream();
            CServerHello DonkeyServidorEnvioHola = new CServerHello(buffer);

            m_ServerConnection.SendPacket(buffer);
        }
예제 #2
0
 /// <summary>
 /// Send the hello message to the server.
 /// </summary>
 public void SendHello()
 {
     if (m_ServerConnection==null) return;
     MemoryStream buffer=new MemoryStream();
     CServerHello DonkeyServidorEnvioHola=new CServerHello(buffer);
     m_ServerConnection.SendPacket(buffer);
 }