onPacketSent method

void onPacketSent(
  1. int bytes
)

Called when a packet is sent.

Implementation

void onPacketSent(int bytes) {
  _inflight += bytes;
  _lastSendTime = clock.now();
  _armPtoTimer();
}