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 agnutls_session_ttype. 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_SUCCESSon 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 πΈ
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
- alpine 3.22: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- alpine 3.23: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- alpine 3.24: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- arch rolling: gnutls 3.8.13-3 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 43: gnutls-devel 3.8.13-1.fc43 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 43: gnutls-devel 3.8.13-1.fc43 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 44: gnutls-devel 3.8.13-1.fc44 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 44: gnutls-devel 3.8.13-1.fc44 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- ubuntu stonking: gnutls-doc 3.8.13-1ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms