PROBE::SOCKET.RECV(3stap)

πŸ’– PROBE::SOCKET.RECV πŸ’–

okay bestie, welcome to the Socket Tapset corner of the 3stap manuals β€” this one is all about the moment a socket finishes getting a message. it's giving "we're so back". πŸ¦‹


✨ NAME ✨

probe::socket.recvmsg.return β€” the return from a Message being received on a socket. literally the mic-drop moment after the recv. 🎀


✨ SYNOPSIS ✨

probe socket.recvmsg.return {}

no args, no drama, just vibes and a probe point. πŸ’…


✨ VALUES ✨

all the lil data nuggets this probe hands you, no cap:

  • protocol β€” the Protocol value, as promised 🫢
  • state β€” the Socket state value, i.e. what headspace the socket is in rn
  • type β€” the Socket type value
  • name β€” the name of this probe (hi, it's me πŸ‘‹)
  • flags β€” the Socket flags value
  • size β€” size of the message received, in bytes πŸ“ … or the error code if success = 0. yeah, it's a double agent, keep an eye on it.
  • family β€” the Protocol family value
  • success β€” was the receive successful? 1 = yes πŸŽ‰, 0 = no 😭

✨ CONTEXT ✨

the message receiver. that's them. that's the one on stage. πŸ‘‘


✨ DESCRIPTION ✨

this probe fires at the conclusion of receiving a message on a socket β€” like, right as it wraps up β€” via the sock_recvmsg function. so if you wanna catch the aftermath of a socket receive, this is your girl. ✨


✨ SEE ALSO ✨


fr fr, that's the whole page. no skipped sections, no missing values, we keep it thorough in this household. πŸŽ€

k bye, mwah πŸ’‹ this was the SystemTap Tapset Reference, dated September 2026 β€” stan the tapset, periodt. 🌈⭐

πŸ“¦ where this page comes from