PROBE::SOCKET.SEND(3stap) Socket Tapset PROBE::SOCKET.SEND(3stap)

# [NAME](#NAME)

probe::socket.sendmsg.return - Return from socket.sendmsg.

# [SYNOPSIS](#SYNOPSIS)

```
probe socket.sendmsg.return {}
```

# [VALUES](#VALUES)

*state*

Socket state value

*protocol*

Protocol value

*name*

Name of this probe

*type*

Socket type value

*success*

Was send successful? (1 = yes, 0 = no)

*family*

Protocol family value

*size*

Size of message sent (in bytes) or error code if success = 0

*flags*

Socket flags value

# [CONTEXT](#CONTEXT)

The message sender.

# [DESCRIPTION](#DESCRIPTION)

Fires at the conclusion of sending a message on a socket via the **sock\_sendmsg** function

# [SEE ALSO0](#SEE_ALSO0)

[*tapset::socket*(3stap)](/man/enterprise-packages/systemtap/tapset::socket.3stap)

September 2026 SystemTap Tapset Reference Ver

---

Document: probe::socket.sendmsg.return(3stap) from systemtap 5.6-r0 (Chainguard OS)
Source: https://sourceware.org/git/systemtap.git
