ngtcp2_conn_get_cwnd_left2

Synopsis

#include <ngtcp2/ngtcp2.h>

uint64_t ngtcp2_conn_get_cwnd_left2(const ngtcp2_conn *conn)

ngtcp2_conn_get_cwnd_left2() returns the cwnd minus the number of bytes in flight on the current path. If the former is smaller than the latter, this function returns 0.

Added in version 1.23.0.