TLSRPT_GET_SOCKET(3) tlsrpt_get_socket TLSRPT_GET_SOCKET(3)

tlsrpt_get_socket - returns the socket file descriptor used within a `tlsrpt_connection_t`

#include <tlsrpt.h>

int tlsrpt_get_socket(truct tlsrpt_connection_t* con)

The tlsrpt_get_socket function returns the socket file descriptor used within a tlsrpt_connection_t. This can be useful to set socket options.

The tlsrpt_get_socket function returns the socket file descriptor used within a tlsrpt_connection_t.

man:tlsrpt_strerror[3], man:tlsrpt_error_code_is_internal[3]

Boris Lohner

2026-09-01 tlsrpt_get_socket