4 /* Default timeout can be changed using clnt_control() */
5 static struct timeval TIMEOUT = { 25, 0 };
8 rpc_test_echo_1(argp, clnt)
12 static char *clnt_res;
14 memset(&clnt_res, 0, sizeof (clnt_res));
15 if (clnt_call(clnt, RPC_TEST_ECHO,
16 (xdrproc_t) xdr_wrapstring, (caddr_t) argp,
17 (xdrproc_t) xdr_wrapstring, (caddr_t) &clnt_res,
18 TIMEOUT) != RPC_SUCCESS) {