source: network-demos/rpc_demo/README @ e6f3168

4.11network-demos-4-10-branchnetwork-demos-4-6-branchnetwork-demos-4-7-branchnetwork-demos-4-8-branchnetwork-demos-4-9-branchrtems-4-5-branch
Last change on this file since e6f3168 was e6f3168, checked in by Joel Sherrill <joel.sherrill@…>, on 04/29/00 at 19:53:34

New test from Eric Norum <eric@…> to exercise RPC/XDR.

  • Property mode set to 100644
File size: 1.5 KB
Line 
1INTRODUCTION
2============
3Example RPC server and client.
4
5The test programs are symmetrical:
6 - The client runs on the host machine or on the RTEMS target.
7 - The server runs on the host machine or on the RTEMS target.
8
9
10BUILDING
11========
12You must have rpcgen installed on your host machine.
13
14You must build the host tools first:
15        make -f Makefile.host
16
17Then you can build the RTEMS version of the server
18        make
19or you can buile the RTEMS version of the client
20        make SERVER=hostname
21where hostname is the name of the machine running the RPC server.
22
23
24RUNNING
25=======
261) Server on RTEMS machine, client on host machine:
27        Download and run the server code on the RTEMS machine
28        Run the client on the host machine
29                ./rprintmsg rtems_hostname "Some message to print"
30
312) Server on host machine, client on RTEMS machine:
32        Start server on host machine
33                ./server
34        Download and run the client code on the RTEMS machine
35
36
37CHANGING
38========
39If you want to try out more or different remote procedures:
40        1) Make the changes to msg.x.
41        2) Make the corresponding server changes to msg_proc.c.
42        3) Make the corresponding client changes to rprintmsg.c.
43
44
45FILES
46=====
47init.c      - RTEMS configuration/initial task.
48msg.x       - Source file for rpcgen.
49msg_main.c  - Server main routine -- RTEMS or host.
50msg_proc.c  - Example implementation of RPC server-side routines.
51rprintmsg.c - Client main routine -- RTEMS or host.
52
53
54CLEANUP
55=======
56To clean up the results of the build process:
57        make clean
58        make -f Makefile.host clean
Note: See TracBrowser for help on using the repository browser.