ONC RPC API library
The ONC RPC API library contains two types of call: high level and low level.
The high-level ONC RPC API can be used only with UDP. It enables
users to make remote procedure calls very and with a minimum of
library calls, but at a cost of some restriction in available function.
The main function of the API is provided by three calls:
- registerrpc
- Used in the server to register a procedure to be called as a remote procedure by clients.
- svc_run
- Used in the server to see if a request has arrived from a client.
- callrpc
- Used in the client to make a remote procedure call.
The low-level ONC RPC API contains many more calls, which give
more control and flexibility. For example:
- Low-level calls give the user the choice of transport below ONC RPC, including TCP or UDP.
- With low-level calls, user-written network registration services other than the Portmapper (the Portmapper is described below) can be used.
- Low-level calls allow the variation of ONC RPC timeouts and retry values.
- Low-level calls allow standard ONC RPC authorization to be applied. Only UNIX authorization is available in ONC RPC Version 3.9.
CICS ONC RPC: CICS® ONC
RPC provides all the server function. You don’t specify any
server RPC calls.
The client can make its request with the high-level call callrpc, or can use low-level calls. CICS ONC RPC is implemented using low-level ONC RPC calls. The implementation allows concurrent dispatching of individual procedures and allows TCP to be supported as well as UDP.