rc_tls_fd(3) Radius client library rc_tls_fd(3)

rc_tls_fd - Returns the file descriptor of the TLS/DTLS session.

#include <radcli/>

int rc_tls_fd(
    rc_handle  *rh
);

This can also be used as a test for the application to see whether TLS or DTLS are in use.

a handle to parsed configuration

the file descriptor used by the TLS session, or -1 on error

rc_check_tls(3)

2026-08-19 radcli