tipc_sendmcast(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… tipc_sendmcast β€” the tipc_sendmcast(9) kernel API page, bestie edition

okay so this is the man page for tipc_sendmcast(9) from the Kernel API Manual, and honestly? it's a short one, so we're gonna get through it together, no stress 🫢


✨ NAME ✨

tipc_sendmcast β€” send a multicast message πŸŽ€ like, that's the whole gig. it sends the multicast message. slay.


🌸 SYNOPSIS 🌸

int tipc_sendmcast (struct socket *sock , struct tipc_uaddr *ua , struct
msghdr *msg , size_t dlen , long timeout );

that's the signature, copy it exactly please, don't freestyle it πŸ’€


πŸ¦‹ ARGUMENTS πŸ¦‹

  • sock β€” the socket structure πŸ’– your actual socket, the main character
  • ua β€” destination address struct, i.e. where this multicast goodness is headed
  • msg β€” the message to send ✨ the whole point, fr fr
  • dlen β€” length of the data to send, so the kernel knows how much of it is real
  • timeout β€” timeout to wait for a wakeup; it's the patience setting ⏳

πŸ‘‘ DESCRIPTION πŸ‘‘

so this one is called from tipc_sendmsg, which is the function that already did all the sanity checks for us πŸ™ so by the time we're here, everything's been vibe-checked and we can just go.

lowkey love a function with a clear division of labour. not me being obsessed with separation of concerns πŸ’…

🌈 RETURN 🌈

returns the number of bytes sent on success, or errno if it's not a success moment 😭 simple as that.


⭐ SEE ALSO ⭐

the full squad, and yes we're listing every single one, because everyone deserves their moment 🫢

Kernel file ./net/tipc/socket.c:


and that's the page!! 🧚 this lil cutie lives in ./net/tipc and the version/date on the tin is October 2026 β€” so like, future-dated but make it iconic. bye bestie, go send some multicast πŸ’œπŸ“

πŸ“¦ where this page comes from