Assignment 9 CS494-unp revised: 10/27/99 Assigned: October 27, 1999 Due: November 24, 1999 6:00 pm Objective: rpc, rpcgen Points: 30 Description: Develop a UDP RPC server and client. The client should request a medieval curse from the server. The server should randomly create a medieval curse from the data base and return it to the client. The client has one required argument, the server name, and it should print out the string returned from the server. Use an XDR type of string to return the result from the RPC call. Your server should read in the curses.txt file (see ~dunigan/cs494-unp/curses.txt) into three strings arrays, and build the medieval curse by randomly selecting an entry from one of each of the three string arrays, and pre-pending "Thou", so a typical reply would look like: Thou wayward crook-pated haggard. Use rpcgen and make. (see ~dunigan/cs494-unp/rpc/ ) Test your server and client on different machines. Don't forget to kill your server when you're done. For the program number use 0x31234565, replacing the last digits (manually) with your CS user id number from /etc/passwd (or ypcat passwd). Optional: please indicate amount of time required to complete assignment. Use ~dunigan/cs494-unp/494submit to submit your source files and output. See http://www.cs.utk.edu/~dunigan/cs494-unp/policy.txt