---
name: "probe::socket.sendmsg"
section: "3stap"
platform: "linux"
package: "systemtap-doc"
version: "5.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/probe::socket.sendmsg"
---

# probe::socket.sendmsg(3stap)

Message is currently being sent on a socket.

## NAME

probe::socket.sendmsg - Message is currently being sent on a socket.

## SYNOPSIS

```
socket.sendmsg
```

## VALUES

*name*

Name of this probe

*protocol*

Protocol value

*flags*

Socket flags value

*size*

Message size in bytes

*state*

Socket state value

*type*

Socket type value

*family*

Protocol family value

## CONTEXT

The message sender

## DESCRIPTION

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

## SEE ALSO0

[*tapset::socket*(3stap)](/tapset::socket/3stap.md)
