RPC clnt_create fails: unknown prototype. Feb 2, 2012 at 8:08am evb (24) When I run this (under Cygwin): 123456789101112131415 #include <stdio.h>#include <stdlib.h> #include "rap.h" #include <rpc/rpc.h> clnt = clnt_create("s4c",300456,1,"TCP"); if(clnt==NULL) printf("...
[EUNKNOWN]Unknown system state. [RPC_UNKNOWNHOST]Unknownhost. [RPC_UNKNOWNPROTO]Unknown client/server protocol. Therpc_createerr.cf_error.re_errnois set with the errno value returned bysetnetconfig()orgetnetconfig()call. This error is set when thenetconfpointer is NULL. ...
rpc_createerr.cf_stat = RPC_UNKNOWNPROTO; rpc_createerr.cf_error.re_errno = EPFNOSUPPORT;return(NULL); } sock = RPC_ANYSOCK;switch(p->p_proto) {caseIPPROTO_UDP: tv.tv_sec =5; tv.tv_usec =0; client = clntudp_create(&sin, prog, vers, tv, &sock);if(client ==NULL) {return...
rpc_clnt_create, clnt_control, clnt_create, clnt_create_timed, clnt_create_vers, clnt_create_vers_timed, clnt_destroy, clnt_dg_create, clnt_pcreateerror, clnt_raw_create, clnt_spcreateerror, clnt_tli_create, clnt_tp_create, clnt_tp_create_timed, clnt_vc_create, rpc_createerr, clnt_...