rc_check_tls - Man Page
Check established TLS/DTLS channels for operation and reconnect if needed.
Synopsis
#include <radcli/>
int rc_check_tls(
rc_handle *rh
);Description
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).
Parameters
- rh
a handle to parsed configuration
Return Value
0 on success or when TLS/DTLS is not in use, -1 if the session could not be re-established
See Also
Referenced By
2026-08-19 radcli Radius client library