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.

tlsrpt_strerror(3), tlsrpt_error_code_is_internal(3)

Boris Lohner

Author(s).
2024-11-06 tlsrpt_get_socket