gnutls_record_get_discarded(3)

✨ gnutls_record_get_discarded(3) ✨

okay bestie, so this one lives in the gnutls manual β€” yeah, the gnutls, the TLS/DTLS library that's been holding it down forever πŸ’…. Let's get into it.


🌸 NAME 🌸

gnutls_record_get_discarded β€” literally an API function, that's the whole name, slay


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <gnutls/dtls.h>

unsigned int gnutls_record_get_discarded(gnutls_session_t session);

look at that. one include, one function, zero drama. iconic honestly πŸŽ€


πŸ’– ARGUMENTS πŸ’–

  • gnutls_session_t session β€” bestie, it's a gnutls_session_t type. that's the vibe. that's the whole thing. it's your session, hand it over 🫢

πŸ‘‘ DESCRIPTION πŸ‘‘

so here's the tea β˜• β€” this function returns the number of discarded packets in a DTLS connection. that's it. that's the function. it counts the little packets that got ghosted πŸ™ˆ


⭐ RETURNS ⭐

The number of discarded packets. (yes, the same number we just talked about. it's giving consistency, we love to see it πŸ’œ)


🌈 SINCE 🌈

3.0 β€” been here since 3.0, a true veteran, main character energy fr fr


😭 REPORTING BUGS 😭

found something cursed? do NOT suffer in silence, tell the girlies:


Copyright Β© 2001-2023 Free Software Foundation, Inc., and others.

Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.

(translation: go off, copy it, remix it, just keep the receipts 🧚)


πŸ”₯ SEE ALSO πŸ”₯

The full documentation for gnutls is maintained as a Texinfo manual. If the /usr/share/doc/gnutls/ directory does not contain the HTML form, visit:

https://www.gnutls.org/manual/

like, actually visit it, iykyk πŸ’–


ngl if you got all the way down here, you're lowkey obsessed with DTLS and honestly? valid. no cap. πŸ’…

okay that's the whole page bestie, ily, go count some discarded packets 🌸✨

β€” this was the gnutls manual, version 3.8.13, and yeah it's gnutls_record_get_discarded(3), periodt πŸ’œπŸ¦‹

πŸ“¦ where this page comes from