TLSRPT_OPEN(3) tlsrpt_open TLSRPT_OPEN(3) NAME tlsrpt_open - `tlsrpt_open` allocates and initializes the `struct tl- srpt_connection_t` object SYNOPSIS #include <tlsrpt.h> int tlsrpt_open(struct tlsrpt_connection_t** pcon, const char* socketname) DESCRIPTION The function tlsrpt_open allocates and initializes the struct tlsrpt_con- nection_t object. This function creates the socket and initializes the des- tination socket address of the TLSRPT collectd. There is no actual connec- tion internally, the socket is a connection-less datagram socket. RETURN VALUE The tlsrpt_open function returns 0 on success and a combined error code on failure. The combined error code can be analyzed with the tlsrpt_strerror function. SEE ALSO man:tlsrpt_close[3], man:tlsrpt_strerror[3], man:tlsrpt_error_code_is_in- ternal[3] AUTHOR Boris Lohner tlsrpt_open 2026-08-08 TLSRPT_OPEN(3)
NAME | SYNOPSIS | DESCRIPTION | RETURN VALUE | SEE ALSO | AUTHOR
Want to link to this manual page? Use this URL:
<https://man.FreeBSD.org/cgi/man.cgi?query=tlsrpt_open&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>