---
name: "rpc_peeraddr"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/rpc_peeraddr"
---

# rpc\_peeraddr(9)

extract remote peer address from clnt's xprt

## NAME

rpc\_peeraddr - extract remote peer address from clnt's xprt

## SYNOPSIS

**size\_t rpc\_peeraddr(struct rpc\_clnt \*** *clnt***, struct sockaddr \*** *buf***, size\_t** *bufsize***);**

## ARGUMENTS

*clnt*

RPC client structure

*buf*

target buffer

*bufsize*

length of target buffer

## DESCRIPTION

Returns the number of bytes that are actually in the stored address.

## COPYRIGHT
