// If we have received a certain amount of packet we indicate it to
// the socket on the other side of the connection by sending it a
// NumberReceivedPacket. So it can free some space in its buffer.
if (packetReceived % 100 == 0)
packetQueue.offer(new NumberReceivedPacket(packetReceived));
}