socket_mcleave6(3)

πŸ“¦
version 0.34 Β· 2 versions
  • 0.34 Β· alpine 3.24, debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 0.30 Β· fedora 43, fedora 44, ubuntu jammy
, in alpine 3.24, debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– NAME πŸ’–

okay so bestie, this is the tea on socket_mcleave6(3) β€” she's a section 3 library function and her whole job is: leave a multicast group. πŸšͺπŸ‘‹ That's it. That's the gig.


✨ SYNTAX ✨

first things first, you gotta pull in the header, like:

#include <libowfat/socket.h>

and the signature itself, no cap:

int socket_mcleave6(int s, const char groupip[16]);

πŸ¦‹ DESCRIPTION πŸ¦‹

So socket_mcleave6 leaves the IPv6 multicast group groupip. Like, it's the Irish goodbye of networking β€” you were in the group chat, now you're not. πŸ’…

If something goes wrong, socket_mcleave6 returns -1, and it sets errno appropriately. So if you get that -1 back, don't panic β€” check errno, she's telling you exactly what happened. πŸ”


🌈 SEE ALSO 🌈


and that's the whole page, bestie 🫢 this one lives in the Library Functions Manual, and there's no date field filled in on it β€” she's timeless like that πŸ‘‘ mwah, go forth and leave your multicast groups πŸ’–βœ¨