The clnt_pcreateerror() call indicates why a client handle cannot be created.
Syntax
#include <rpc\rpc.h> void clnt_pcreateerror(s) char *s;
Parameters
s
Description
The clnt_pcreateerror() call writes a message to the standard error device, indicating why a client handle cannot be created. Use this procedure after the clntraw_create(), clnttcp_create(), or clntudp_create() call fails.
For an example of the clnt_pcreateerror() call, see clnttcp_create().
Related Calls