help remote procedure call

i am beginig with unix
c code for sun remote procedure call to do the following:
1- The clients reads in a variable length array from the command line
2- The client offers a menu for the user to choose what to do with the array:
a. Sort the array
b. Add the array
c. Find max
d. Find min
(pass array from client to server process it and return the result to the client, client and server build in the same machine)
Each option calls a remote function on the server that implements the corresponding functionality. The default remote server is the localhost, unless specified through the command line input
3- According to the chosen function, an output is displayed on the screen with the result returned from the server

No homework questions.

Thread closed.