ngtcp2_conn_update_pkt_tx_time¶
Synopsis¶
#include <ngtcp2/ngtcp2.h>
-
void
ngtcp2_conn_update_pkt_tx_time(ngtcp2_conn *conn, ngtcp2_tstamp ts)¶ ngtcp2_conn_update_pkt_tx_time()sets the time instant of the next packet transmission to pace packets. This function must be called after (multiple invocation of)ngtcp2_conn_writev_stream(). If packet aggregation (e.g., packet batching, GSO) is used, call this function after all aggregated datagrams are sent, which indicates multiple invocation ofngtcp2_conn_writev_stream().