Specifications

Remote Procedure Call Programming Guide Page 19
fprintf(stderr, "can’t decode arguments\n");
/*
* We are silent in the face of protocol errors
*/
break;
}
/*
* Code here to render string s, but send no reply!
*/
break;
default:
svcerr_noproc(transp);
return;
}
/*
* Now free string allocated while decoding arguments
*/
svc_freeargs(transp, xdr_wrapstring, &s);
}
Of course the service could have one procedure that takes the string and a boolean to indicate whether or
not the procedure should respond.
In order for a client to take advantage of batching, the client must perform RPC calls on a TCP-based trans-
port and the actual calls must have the following attributes: 1) the result’s XDR routine must be zero
NULL), and 2) the RPC call’s timeout must be zero.