onPacketLost abstract method

void onPacketLost(
  1. int packetNumber,
  2. int lostBytes,
  3. DateTime now
)

React to a detected packet loss.

packetNumber is the lost packet number. lostBytes is the size of the lost packet in bytes. now is the current time.

Implementation

void onPacketLost(int packetNumber, int lostBytes, DateTime now);