We have external links to some good RPC pages that not only tell how RPC works, but also how to use it and XDR along with it. We also have our example program codes available to use and study.
Link to our RPC example programs:All the Programs do the same thing. The client takes in a string of numbers from the user. If the user has chosen for the computer to do so, it extracts the numbers from the string into an integer array on the client end and sends over an array of integers to be added. Otherwise, it sends a string of characters to the server to have it extract the integers from the string then add them up. The server adds up the numbers whichever way it gets them, then returns the sum. The client displays the sum.
The header files contain the XDR structures, common header files, and common definitions for the two progams.
External Links:
This is the Cray Research homepage that has a manual. It is a great reference about how to use RPC, what's going on, and what you are trying to do with it.
This is a link to some Unix man pages. Put in rpc or xdr and read the man pages about the respective subjects. The links from the man pages to each other don't work when I was last there (July 31, 1998), so you have to go back to the first page and keep typing in the topics to look up.