IXP_HANGUP(3)

πŸ“¦ version 0-unstable-2022-04, in nixos 26.05, nixpkgs unstable

okay so bestie, welcome to IXP_HANGUP(3) β€” yes, the Library Functions Manual page β€” and it's short, but it's lowkey doing important cleanup energy. πŸ’…βœ¨

πŸŽ€ NAME πŸŽ€

the main characters are:

  • ixp_hangup
  • ixp_server_close

that's it, that's the lineup. 🫢

✨ SYNOPSIS ✨

the declared situation, verbatim, because we do not mess with signatures:

#include <ixp.h>

void ixp_hangup(IxpConn *c);

void ixp_server_close(IxpServer *s);

πŸ’– DESCRIPTION πŸ’–

ixp_hangup closes a connection, and stops the server listening on it. if the connection has a close function, it calls that close function β€” yes, conditional cleanup, we love to see it. 😭✨

ixp_server_close is the group-chat broadcast of this situation: it calls ixp_hangup on all of the connections on which the server is listening. all of them. no cap. 🌈

πŸ¦‹ SEE ALSO πŸ¦‹

go read these next, bestie β€” iykyk:


mwah πŸ’‹ β€” this iconic little page is from libixp Manual, dated 2012 Dec, and it's IXP_HANGUP(3) all the way down. byeee 🫢

πŸ“¦ where this page comes from