PROBE::SOCKET.RECE(3stap)

πŸ’– probe::socket.receive πŸ’–

okay bestie, so this is a SystemTap tapset probe page β€” a manual page for the socket tapset family, specifically the one that fires when a message lands on a socket. it's giving notifications but for packets ✨


🌸 NAME 🌸

probe::socket.receive β€” Message received on a socket. 🫢

that's it, that's the whole vibe: somebody got a message. πŸ’Œ


✨ SYNOPSIS ✨

probe socket.receive {}

no args, no fancy setup, just the probe and its curly little brackets. she's low maintenance. πŸ’…


πŸŽ€ VALUES πŸŽ€

these are all the goodies you get handed when this probe fires. every single one, no skipping, periodt:

  • state β€” the socket state value, like what chapter of its life the socket is in rn.
  • protocol β€” the protocol value. which protocol are we talking about? this. this is that.
  • type β€” the socket type value, aka what flavour of socket she is.
  • name β€” the name of this probe. hi, it's me, your probe name. πŸ‘‹
  • size β€” the size of the message received, in bytes. but β€” and this is important β€” if success = 0, then this is the error code instead. not me getting two totally different things out of one variable 😭
  • flags β€” the socket flags value. flags. we love flags. 🚩
  • success β€” was the send successful? 1 = yes, 0 = no. a simple girl. a binary girl. πŸ’€
  • family β€” the protocol family value. the whole family tree, iconic. πŸ‘‘
ngl the size one is the sneaky one β€” same name, two meanings, depending on success. read carefully bestie, that's the main character plot twist of this page. 🌈

πŸ¦‹ CONTEXT πŸ¦‹

The message receiver. πŸ“¬

aka: the thing that's on the receiving end of the message. she's not the sender, she's the one catching the vibe. 🫢


🌟 SEE ALSO 🌟

  • tapset::socket(3stap) β€” go read the whole socket tapset family if you want the full lore. iykyk. πŸ’œ

and that's the page bestie!! this one's from the SystemTap Tapset Reference, dated September 2026 β€” so go forth, catch those messages, and remember: check success before you trust size. πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ’…

πŸ“¦ where this page comes from