svc_sendreply()--Send the Results of a Procedure Call to a Remote Client


  Syntax

 #include <rpc/rpc.h>

 bool_t svc_sendreply(const SVCXPRT *xprt,
                               const xdrproc_t inproc,
                               const caddr_t in);

  Service Program Name: QZNFTRPC

  Default Public Authority: *USE

  Threadsafe: No

The svc_sendreply() function sends the results of a procedure call to a remote client.


Parameters

xprt  (Input) 
A pointer to the RPC service transport handle.

inproc  (Input) 
XDR routine to encode the results.

in  (Input) 
The address of the results.

Authorities

No authorization is required.


Return Value



Error Conditions

The svc_sendreply() function returns FALSE when some transport error or some exception has occurred. The errno global variable can be set to the following values:



Error Messages



Example

Refer to the example for svcerr_systemerr()--Send Information to Client for System Error.



API introduced: V4R2

[ Back to top | Remote Procedure Call (RPC) APIs | APIs by category ]