예제 #1
0
 private void HandlePing(IPEndPoint remoteEndPoint, PingMessage message)
 {
     var ack = new AckMessage(message.SequenceNumber);
     _messagePump.Send(remoteEndPoint, ack);
 }
예제 #2
0
 private void EncodePing(PingMessage message, BinaryWriter writer)
 {
     writer.Write(message.SequenceNumber);
 }