ngtcp2_conn_get_dcid

Synopsis

#include <ngtcp2/ngtcp2.h>

const ngtcp2_cid *ngtcp2_conn_get_dcid(ngtcp2_conn *conn)

ngtcp2_conn_get_dcid() 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.