ONC+ Developer's Guide

Top-Level Routines

At the top level, the interface is still simple, but the program has to create a client handle before making a call or create a server handle before receiving calls. If you want the application to run on all transports, use this interface. You can find the use of these routines and code samples in Top-Level Interface.

Table 2–2 RPC Routines—Top Level




Generic client creation. The program tells clnt_create() where the server is located and the type of transport to use.


Similar to clnt_create() but enables the programmer to specify the maximum time allowed for each type of transport tried during the creation attempt.


Creates server handles for all transports of the specified type. The program tells svc_create() which dispatch function to use.

clnt_call() ()

Client calls a procedure to send a request to the server.