Creates a server handle for memory-based ONC RPC for simple testing and timing. Format #include <rpc/rpc.h> SVCXPRT *svcraw_create();
1 – Arguments
None
2 – Description
Creates a in-program ONC RPC service transport, to which it returns a pointer. The transport is really a buffer within the process's address space, so the corresponding client should live in the same address space; see the clntraw_create routine. The svcraw_create and clntraw_create routines allow simulation and acquisition of ONC RPC overheads (such as round-trip times), without any kernel interference.
3 – Return Values
SVCXPRT * A pointer to an RPC server handle for the in-memory transport. NULL Indicates failure.