Beispiel #1
0
        /// <summary>
        /// Request ping time via UDP from server.
        /// </summary>
        public void RequestUDPPing()
        {
            MemoryStream          packet          = new MemoryStream();
            CServerRequestPingUDP PeticionPingUDP = new CServerRequestPingUDP(packet);

            m_PingTime = DateTime.Now;
            m_nFails++;
            m_RndPingValue = PeticionPingUDP.rndvalping;
            m_SendPacketUDP(packet);
        }
Beispiel #2
0
 /// <summary>
 /// Request ping time via UDP from server.
 /// </summary>
 public void RequestUDPPing()
 {
     MemoryStream packet=new MemoryStream();
     CServerRequestPingUDP PeticionPingUDP=new CServerRequestPingUDP(packet);
     m_PingTime=DateTime.Now;
     m_nFails++;
     m_RndPingValue=PeticionPingUDP.rndvalping;
     m_SendPacketUDP(packet);
 }