rc_tls_fd - Man Page

Returns the file descriptor of the TLS/DTLS session.

Synopsis

#include <radcli/>

int rc_tls_fd(
    rc_handle  *rh
);

Description

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

Parameters

rh

a handle to parsed configuration

Return Value

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

See Also

rc_check_tls(3)

Referenced By

radcli.h(3), rc_check_tls(3).

2026-08-19 radcli Radius client library