gnutls_heartbeat_pong(3)

πŸ’– gnutls_heartbeat_pong πŸ’–

okay bestie, so this is a page from the gnutls manual β€” yes, the gnutls manual, the big one β€” and today's main character is gnutls_heartbeat_pong. it's an API function. she's small, she's simple, she's doing her little job and she's doing it well. 🫢


✨ NAME ✨

gnutls_heartbeat_pong β€” API function

like. that's the name. that's the whole name. it's giving "i reply to things" energy and honestly? iconic.


🌸 SYNOPSIS 🌸

#include <gnutls/gnutls.h>

int gnutls_heartbeat_pong(gnutls_session_t session, unsigned int flags);

πŸŽ€ ARGUMENTS πŸŽ€

  • gnutls_session_t session β€” bestie this is a gnutls_session_t type. that's it. that's the whole description. she's the session you're talking to, the whole vibe, the connection, the moment. πŸ’…
  • unsigned int flags β€” and this one? should be zero. literally zero. not "kinda zero", not "zero-ish". zero. no cap. πŸ™ˆ

πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea: this function replies to a ping by sending a pong to the peer. that's it. someone pinged you, you pong back, the conversation stays alive, everyone's happy, nobody's left on read. it's the politest thing you can do on a network, fr fr. πŸ’–


⭐ RETURNS ⭐

  • GNUTLS_E_SUCCESS on success β€” slay, it worked, we love that for you πŸ‘‘
  • otherwise a negative error code β€” so like, if it's negative, something went sideways, and you should go read the error, bestie. don't ignore her. 😭

🌈 SINCE 🌈

3.1.2 β€” she's been around since 3.1.2, which means she's basically a veteran. respect your elders. πŸŽ€


πŸ’œ REPORTING BUGS πŸ’œ

found a bug? not me manifesting that but okay, report bugs to <bugs@gnutls.org>. πŸ’Œ

Home page: https://www.gnutls.org


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: you can copy and share this file, even change it, in any medium, no royalty needed β€” just keep the copyright notice and this notice with it. free as in freedom, periodt. πŸ•ŠοΈ)


πŸ”₯ 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, if it's not in the folder, the link's right there. go, run, read. i believe in you. 🧚


and that's the whole page, bestie!! 🌈 no notes, no secrets, every single detail intact, we ate and left zero crumbs πŸ’…βœ¨

signing off with love: this was gnutls_heartbeat_pong(3) from the gnutls manual, version 3.8.13, and it's your girl saying byeee β€” mwah πŸ’–πŸŽ€πŸ¦‹πŸŒΈπŸ«ΆπŸ‘‘

πŸ“¦ where this page comes from