GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
TLSRPT_OPEN(3) tlsrpt_open TLSRPT_OPEN(3)

tlsrpt_open - `tlsrpt_open` allocates and initializes the `struct tlsrpt_connection_t` object

#include <tlsrpt.h>

int tlsrpt_open(struct tlsrpt_connection_t** pcon, const char* socketname)

The function tlsrpt_open allocates and initializes the struct tlsrpt_connection_t object. This function creates the socket and initializes the destination socket address of the TLSRPT collectd. There is no actual connection internally, the socket is a connection-less datagram socket.

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.

tlsrpt_close(3), tlsrpt_strerror(3), tlsrpt_error_code_is_internal(3)

Boris Lohner

Author(s).
2024-11-06 tlsrpt_open

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.