|
|
In the examples given for programming at the simplied interface, RPC takes care of almost as many details as would the rpcgen compiler. RPC does so by choosing defaults for almost everything, including the transport protocol.
This section shows how to control these details by using lower levels of the RPC library. The reader is assumed to be familiar with the Transport Level Interface (XTI).
There are several reasons for using lower levels of RPC:
The following sections illustrate programming at the lower levels of RPC.
``The top level'' describes RPC interfaces that allow for control of transport selection by type.
``The intermediate level'' section describes those interfaces that allow a programmer to choose a specific transport.
``The expert level'' section describes routines that:
Finally, the section on ``The bottom level'' describes routines that control most details of transport options.
For detailed descriptions of RPC routines, see rpc(3rpc).