示例#1
0
        public void SendUnconnectedPing()
        {
            var packet = new UnconnectedPing
            {
                pingId = 100 /*incoming.pingId*/,
            };

            var data = packet.Encode();

            SendData(data);
        }
示例#2
0
        public void SendUnconnectedPing()
        {
            var packet = new UnconnectedPing
            {
                pingId = DateTime.UtcNow.Ticks /*incoming.pingId*/,
            };

            var data = packet.Encode();

            TraceSend(packet);
            SendData(data);
        }
示例#3
0
        public void SendUnconnectedPing()
        {
            var packet = new UnconnectedPing
            {
                pingId = DateTime.UtcNow.Ticks /*incoming.pingId*/,
            };

            var data = packet.Encode();

            TraceSend(packet);
            SendData(data /*, new IPEndPoint(IPAddress.Parse("192.168.0.255"), 19132)*/);
        }
示例#4
0
        public void SendUnconnectedPing()
        {
            var packet = new UnconnectedPing
            {
                pingId = DateTime.UtcNow.Ticks /*incoming.pingId*/,
            };

            var data = packet.Encode();

            TraceSend(packet);
            //SendData(data);
            SendData(data, new IPEndPoint(IPAddress.Broadcast, 19132));
        }
示例#5
0
        public void SendUnconnectedPing()
        {
            var packet = new UnconnectedPing
            {
                pingId = DateTime.UtcNow.Ticks /*incoming.pingId*/,
            };

            var data = packet.Encode();
            TraceSend(packet);
            //SendData(data);
            SendData(data, new IPEndPoint(IPAddress.Broadcast, 19132));
        }
示例#6
0
        public void SendUnconnectedPing()
        {
            var packet = new UnconnectedPing
            {
                pingId = DateTime.UtcNow.Ticks /*incoming.pingId*/,
            };

            var data = packet.Encode();
            TraceSend(packet);
            SendData(data);
        }
示例#7
0
        public void SendUnconnectedPing()
        {
            var packet = new UnconnectedPing
            {
                pingId = DateTime.UtcNow.Ticks /*incoming.pingId*/,
            };

            var data = packet.Encode();
            TraceSend(packet);
            SendData(data /*, new IPEndPoint(IPAddress.Parse("192.168.0.255"), 19132)*/);
        }
示例#8
0
        public void SendUnconnectedPing()
        {
            var packet = new UnconnectedPing
            {
                pingId = 100 /*incoming.pingId*/,
            };

            var data = packet.Encode();
            SendData(data);
        }