PROBE::SOCKET.WRIT(3stap)

πŸ’– probe::socket.write_iter.return πŸ’–

okay bestie, welcome to the Socket Tapset corner of the SystemTap manual β€” this one's called probe::socket.write_iter.return and she's giving "the message already left the building" energy. ✨


🌸 NAME 🌸

probe::socket.write_iter.return β€” the conclusion of a message send via sock_write_iter πŸŽ€

Like, the little ding you hear when your text actually goes through. That's her. πŸ¦‹


✨ SYNOPSIS ✨

probe socket.write_iter.return {}

no arguments, no drama, just vibes πŸ’…


🫢 VALUES 🫢

Every value this probe hands you, bestie, in order:

  • size β€” the size of the message received, in bytes… OR an error code if success = 0. so like, read success first before you trust this number, iykyk 😭
  • flags β€” the socket flags value 🚩
  • success β€” was the receive successful? (1 = yes, 0 = no) β€” the moment of truth fr fr
  • family β€” the protocol family value πŸ‘‘
  • protocol β€” the protocol value 🌈
  • state β€” the socket state value ⭐
  • type β€” the socket type value πŸŽ€
  • name β€” the name of this probe 🏷️

🧚 CONTEXT 🧚

The message receiver. That's who's on stage here, no cap. πŸ’–


πŸ’œ DESCRIPTION πŸ’œ

She fires at the conclusion of sending a message on a socket via the sock_write_iter function. 🌸

So like, the write already happened, the iterator already iterated, and now we're all gathered to debrief. main character energy honestly. πŸ”₯


πŸ‘‘ SEE ALSO πŸ‘‘

  • tapset::socket(3stap) β€” go read the whole socket tapset family, they're all iconic together 🫢

and that's the whole page, bestie!! πŸ’…

This was the SystemTap Tapset Reference, Version Ver, dated September 2026 β€” and it lived at PROBE::SOCKET.WRIT(3stap) the whole time. πŸ¦‹ slay, go write some probes πŸ’–βœ¨

πŸ“¦ where this page comes from