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

# function::sock\_prot\_num2str(3stap)

Given a protocol number, return a string representation

## NAME

function::sock\_prot\_num2str - Given a protocol number, return a string representation

## SYNOPSIS

```
    sock_prot_num2str:string(proto:long)
```

## ARGUMENTS

*proto*

The protocol number

## SEE ALSO0

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