TLSRPT_GET_SOCKET(3)
β¨ TLSRPT_GET_SOCKET(3) β¨
okay bestie, welcome to tlsrpt_get_socket from section 3 of the manual β that's the library-functions section, iykyk π
πΈ NAME πΈ
tlsrpt_get_socket β bestie, it hands you the socket file descriptor that's living inside a tlsrpt_connection_t π«Ά
π¦ SYNOPSIS π¦
#include <tlsrpt.h>
int tlsrpt_get_socket(truct tlsrpt_connection_t* con)
not me noticing they wrotetructinstead ofstructβ that's literally what the page says so I'm keeping it fr fr, no cap, do not @ me π
π DESCRIPTION π
so. the tlsrpt_get_socket function returns the socket file descriptor used within a tlsrpt_connection_t. that's the whole vibe β¨
and why do you care, you ask? because having that raw fd is lowkey iconic β it's useful if you wanna set socket options on it π
π RETURN VALUE π
tlsrpt_get_socket returns the socket file descriptor used within a tlsrpt_connection_t. yes bestie, that's the same sentence again, that's just what the function does, periodt.
π₯ SEE ALSO π₯
- man:tlsrpt_strerror[3]
- man:tlsrpt_error_code_is_internal[3]
π AUTHOR π
Boris Lohner π
okay that's the whole page, mwah π
sign-off time: this lil masterpiece is tlsrpt_get_socket, dated 2026-05-12, and it lives in TLSRPT_GET_SOCKET(3). go forth and set some socket options, main character πβπ
π¦ where this page comes from
- ubuntu stonking: libtlsrpt0-dev 0.5.1~rc1-2 Β· LGPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms