コード例 #1
0
        /// <summary>
        /// Received a ping over the TCP connection
        /// </summary>
        /// <param name="ping"></param>
        public virtual void Ping(Ping ping)
        {
            TcpPing = ping.TcpPingAvg;

            Connection.SendControl<Ping>(PacketType.Ping, ping);
        }
コード例 #2
0
 /// <summary>
 /// Received a ping over the TCP connection
 /// </summary>
 /// <param name="ping"></param>
 public virtual void Ping(Ping ping)
 {
     TcpPing = ping.TcpPingAvg;
 }