'\" t .\" Title: tlsrpt_get_socket .\" Author: Boris Lohner .\" Generator: Asciidoctor 2.0.26 .\" Date: 2026-09-01 .\" Manual: tlsrpt_get_socket .\" Source: tlsrpt_get_socket .\" Language: English .\" .TH "TLSRPT_GET_SOCKET" "3" "2026-09-01" "tlsrpt_get_socket" "tlsrpt_get_socket" .ie \n(.g .ds Aq \(aq .el .ds Aq ' .ss \n[.ss] 0 .nh .ad l .de URL \fI\\$2\fP <\\$1>\\$3 .. .als MTO URL .if \n[.g] \{\ . mso www.tmac . am URL . ad l . . . am MTO . ad l . . . LINKSTYLE blue R < > .\} .SH "NAME" tlsrpt_get_socket \- returns the socket file descriptor used within a `tlsrpt_connection_t` .SH "SYNOPSIS" .sp #include .sp int tlsrpt_get_socket(truct tlsrpt_connection_t* con) .SH "DESCRIPTION" .sp The \f(CRtlsrpt_get_socket\fP function returns the socket file descriptor used within a \f(CRtlsrpt_connection_t\fP. This can be useful to set socket options. .SH "RETURN VALUE" .sp The tlsrpt_get_socket function returns the socket file descriptor used within a tlsrpt_connection_t. .SH "SEE ALSO" .sp man:tlsrpt_strerror[3], man:tlsrpt_error_code_is_internal[3] .SH "AUTHOR" .sp Boris Lohner