ngtcp2_conn_get_dcid2

Synopsis

#include <ngtcp2/ngtcp2.h>

const ngtcp2_cid *ngtcp2_conn_get_dcid2(const ngtcp2_conn *conn)

ngtcp2_conn_get_dcid2() returns the non-NULL pointer to the current Destination Connection ID. If no Destination Connection ID is present, the return value is not NULL, and its datalen field is 0.

Added in version 1.23.0.