예제 #1
0
 private void AcknowledgeOutgoingPackets(SeqNo ack, BitVector acks)
 {
     lock (_outgoingMessageQueue)
     {
         var currentAck = ack;
         foreach (var bit in acks.AsBits())
         {
             if (bit)
             {
                 AcknowledgeOutgoingPacket(currentAck);
             }
             currentAck--;
         }
     }
 }