The clnt_perror() call writes an error message indicating why RPC failed.
Syntax
#include <rpc\rpc.h> void clnt_perror(clnt, s) CLIENT *clnt; char *s;
Parameters
clnt
Description
The clnt_perror() call writes a message to the standard error device, indicating why an RPC failed. Use this procedure after clnt_call() if there is an error.
For an example of the clnt_perror() call, see clnt_geterr().
Related Calls
clnt_call() clnt_geterr()
clnt_pcreateerror()
clnt_perrno()
clntraw_create()
clnttcp_create()
clntudp_create()