.\" File automatically generated by doxy2man0.3 .\" Generation date: Wed Aug 19 2026 .TH rc_tls_fd 3 2026-08-19 "radcli" "Radius client library" .SH "NAME" rc_tls_fd \- Returns the file descriptor of the TLS/DTLS session. .SH SYNOPSIS .nf .B #include .sp \fBint rc_tls_fd\fP( \fBrc_handle *\fP\fIrh\fP ); .fi .SH DESCRIPTION .PP This can also be used as a test for the application to see whether TLS or DTLS are in use. .SH PARAMETERS .TP .B rh a handle to parsed configuration .SH RETURN VALUE .PP the file descriptor used by the TLS session, or -1 on error .SH SEE ALSO .PP .nh .ad l \fIrc_check_tls\fP(3) .ad .hy