rpc_peeraddr(9) 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