dwnx_conn_get_expiry

Synopsis

#include <dwnx/dwnx.h>

dwnx_tstamp dwnx_conn_get_expiry(const dwnx_conn *conn)

dwnx_conn_get_expiry() returns the next expiry time. It returns UINT64_MAX if there is no next expiry.

Call dwnx_conn_handle_expiry() when the expiry time has passed.