ngtcp2_conn_get_client_initial_dcid2

Synopsis

#include <ngtcp2/ngtcp2.h>

const ngtcp2_cid *ngtcp2_conn_get_client_initial_dcid2(const ngtcp2_conn *conn)

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

Added in version 1.23.0.