rc_check_tls(3) Radius client library rc_check_tls(3)

rc_check_tls - Check established TLS/DTLS channels for operation and reconnect if needed.

#include <radcli/>

int rc_check_tls(
    rc_handle  *rh
);

Probes the TLS or DTLS session with a TLS heartbeat and reconnects if the session is dead. Must be called when no other thread is using the session (e.g., from a dedicated watchdog thread that holds the lock).

a handle to parsed configuration

0 on success or when TLS/DTLS is not in use, -1 if the session could not be re-established

rc_tls_fd(3)

2026-08-19 radcli