svc_getcaller()

Format

#include <rpc.h>
struct sockaddr_in *
svc_getcaller(xprt)
SVCXPRT *xprt;

Parameters

xprt
Specifies the pointer to the service transport handle.

Usage

Macro obtains the network address of the client associated with the service transport handle xprt.

Return codes

This is a pointer to a sockaddr_in structure.

Context

  • get_myaddress()