
ngtcp2_conn_set_keep_alive_timeout
==================================

Synopsis
--------

*#include <ngtcp2/ngtcp2.h>*

.. function:: void ngtcp2_conn_set_keep_alive_timeout(ngtcp2_conn *conn, ngtcp2_duration timeout)

    
    `ngtcp2_conn_set_keep_alive_timeout` sets keep-alive timeout.  If
    nonzero value is given, after a connection is idle at least in a
    given amount of time, a keep-alive packet is sent.  If UINT64_MAX
    is set, keep-alive functionality is disabled, and this is the
    default.  Specifying 0 in *timeout* is reserved for a future
    extension, and for now it is treated as if UINT64_MAX is given.
