TCP CUBIC algorithm.

https://datatracker.ietf.org/doc/html/rfc8312

RTT time unit is milliseconds, following JavaScript convention.

Hierarchy (View Summary)

Constructors

Accessors

Methods

Constructors

Accessors

Methods

  • Increase congestion window.

    Parameters

    • now: number

      Timestamp of positive feedback (successful retrieval without congestion mark).

    • rtt: number

      Round-trip time when the positive feedback is received.

    Returns void