public void SendUnconnectedPing() { var packet = new UnconnectedPing { pingId = 100 /*incoming.pingId*/, }; var data = packet.Encode(); SendData(data); }
public void SendUnconnectedPing() { var packet = new UnconnectedPing { pingId = DateTime.UtcNow.Ticks /*incoming.pingId*/, }; var data = packet.Encode(); TraceSend(packet); SendData(data); }
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)*/); }
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)); }