
ngtcp2_conn_get_dcid2
=====================

Synopsis
--------

*#include <ngtcp2/ngtcp2.h>*

.. function:: 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 :member:`datalen
    <ngtcp2_cid.datalen>` field is 0.
    
    .. version-added:: 1.23.0
