ngtcp2_conn_get_client_initial_dcid

Synopsis

#include <ngtcp2/ngtcp2.h>

const ngtcp2_cid *ngtcp2_conn_get_client_initial_dcid(ngtcp2_conn *conn)

ngtcp2_conn_get_client_initial_dcid() returns the non-NULL pointer to the Destination Connection ID that client sent in its Initial packet. If the Destination Connection ID is not present, the return value is not NULL, and its datalen field is 0.