VMS Help  —  TCPIP Services, Programming Interfaces, RPC Server Routines, svc_getcaller
    A macro that returns the address of the client that called the
    service procedure.
    Format
      #include  <rpc/rpc.h>
      struct sockaddr_in  *svc_getcaller(SVCXPRT *xprt);

1  –  Arguments

 xprt
    A pointer to an RPC server handle created by any of the server-
    handle creation routines.

2  –  Description

    This routine returns a sockaddr_in structure containing the
    Internet address of the RPC client routine that called the
    service procedure.

3  –  Return Values

    struct sockaddr_   A pointer to the socket descriptor.
    in
Close Help