VMS Help  —  TCPIP Services, Programming Interfaces, RPC XDR Routines, xdr_callmsg
    Serializes and deserializes an ONC RPC call message.
    Format
      #include  <tcpip$rpcxdr.h>
      bool_t  xdr_callmsg(XDR *xdrs, struct rpc_msg *cmsgp);

1  –  Arguments

 xdrs
    A pointer to an XDR stream handle created by one of the XDR
    stream-handle creation routines.
 cmsgp
    A pointer to an rpc_msg structure that describes the RPC call
    message.

2  –  Description

    This routine is useful for users who want to generate messages
    without using the ONC RPC package. The xdr_callmsg routine
    encodes the following fields: transaction ID, direction, RPC
    version, server program number, server version number, server
    procedure number, and client authentication.

    The pmap_rmtcall and svc_sendreply routines call xdr_callmsg.

3  –  Return Values

    TRUE               Indicates success.
    FALSE              Indicates failure.
Close Help