Beispiel #1
0
 private void HandlePing(IPEndPoint remoteEndPoint, PingMessage message)
 {
     var ack = new AckMessage(message.SequenceNumber);
     _messagePump.Send(remoteEndPoint, ack);
 }
Beispiel #2
0
 private void EncodeAck(AckMessage message, BinaryWriter writer)
 {
     writer.Write(message.SequenceNumber);
 }
Beispiel #3
0
 private void HandleAck(IPEndPoint remoteEndPoint, AckMessage message)
 {
     // do nothing yet...
 }
 private void EncodeAck(AckMessage message, BinaryWriter writer)
 {
     writer.Write(message.SequenceNumber);
 }