ONC+ RPC Developer's Guide

Exit Print View

Updated: July 2014
 
 

rpcgen Programming Techniques

This section suggests some common RPC and rpcgen programming techniques.

Table 3-4  RPC Programming Techniques
Technique
Description
Network type
rpcgen can produce server code for specific transport types.
Define statements
You can define C-preprocessing symbols on rpcgen command lines.
Broadcast calls
Servers need not send error replies to broadcast calls.
Debugging applications
Debug as normal function calls, then change to a distributed application.
Port monitor support
Port monitors can “listen” on behalf of RPC servers.
Dispatch tables
Programs can access server dispatch tables.
Time-out changes
You can change client default time-out periods.
Authentication
Clients can authenticate themselves to servers; the appropriate servers can examine client authentication information.