Each directory holds the code for a complete RPC system (server and
client), check the README files for more details.
- simple: remote integer add and subtract
procedures.
- ulookup: Remote username and uid lookup
procedures. The server returns the username corresponding to a UID
(on the server system) or the UID corresponding to a username. Among
other things, this example show how to use the XDR string type.
- better_ulookup: Better remote username
and uid lookup procedures. Almost the same as lookup, but now the procedures return complex types
that include a status indicator (to indicate when the lookup
failed).
- linkedlist: Example of how to use a linked
list as an argument to a remote procedure.
- varray: Example that shows using a variable
length array.
There are also some RFCs here: