/* Giorgio Ingargiola (June 99) This directory shows an example of RPC use, where each RPC call is executed by a different thread in the server. The remote procedure are add and subtract, that return respectively the sum and the difference of two integers. FILES Makefile The name says it all TAGS File created by the command etag -t *.[ch] to allow me, when using emacs to get to the definition of symbols with ESC-. mc.x XDR definition of the remote procedure interface. Written by developer. It is used with the command rpcgen mc.x to generate the files mc.h, mc_sdr.c, mc_svc.c [which we modify to mc2_svc.c], mc_clnt.c mc.h Generated by rpcgen, c interface to remote procedures mc_xdr.c Generated by rpcgen, functions to convert to/from XDR, i.e. worry about data representation mc_clnt.c Generated by rpcgen, the client stub of the remote procedures mc2_svc.c Modification done by developer of the file mc_svc.c generated by rpcgen - the skeleton on the server. mc1_svc_proc.c Written by developer, the implementation of the remote procedures on the server. mc.c Writen by the developer, the main function of the client. It calls the remote procedures */