Expert-level APIs
The expert-level APIs are the lowest layer of TI-RPC APIs available on the
server. The application directly chooses the transport to use, and has an
increased level of control over the details of the client-side and the
server-side transport handles. These APIs are similar to the intermediate-level
APIs with an additional control provided by using the name-to-address
translation APIs.
The expert-level APIs are:
- clnt_tli_create() (Create a client handle) creates an RPC client handle for the remote program prognum and version versnum.
- rpcb_getaddr() (Find the universal address of a service) is an interface to the RPC service package (RPCBind).
- rpcb_set() (Register the server address with the RPCBind) is an interface to the RPC service package (RPCBind) daemon.
- rpcb_unset() (Unregister Their Addresses) is an interface to the RPC service package (RPCBind), which destroys the mapping between the triple (prognum, versnum, netconf->nc_netid) and the address on the host machine's RPCBind service.
- svc_reg() (Associate program and version with dispatch) associates prognum and versnum with the service dispatch procedure dispatch.
- svc_tli_create() (Create a server handle) creates an RPC server handle.
- svc_unreg() (Delete an association set by svc_reg()) removes mappings between dispatch functions and the service procedure that is identified by the prognum and versnum parameters.