Under Microware's OS9 operating system, RPC is available to run over TCP/IP, ethernet or RS232 serial links. RPC running over ISO transport protocol is under development. Release notes distributed with the files describe how to make smaller libraries which support only a subset of these media.
See the earlier section on TCP addressing.
The genericC option of the compiler should be used to generate stubs. The "byvalue" qualifier should also be used for C compatibility, while omitting it will give stubs more compatible with FORTRAN.
If you are using FORTRAN, you should use the RTF compiler by Hans Von der Schmitt. The stubs are compiled without the "byvalue" qualifier. In this case, you should avoid passing strings, as they will be passed using the C convention which is not compatible with FORTRAN. To mix OS9 and C and FORTRAN, you will need a special module rtfcstart.a and a special link command lnc developed in OPAL. This allows FORTRAN programs to call C subroutines (including RPC stubs).
Until the RPC compiler has been ported to run under OS9, the stubs must be generated under VAX/VMS or Ultrix and then copied (using FTP, OSWRITE, etc) to OS9 for compilation. This will only have to be repeated if the package definition file is changed, which should happen infrequently.
setenv RPC_TRACE_FLAG <file>giving the filename of your choice. Use the
printenvcommand to see all environment variables. Setting RPC_TARCE_FLAG to the same thing as PORT will give you trace on the terminal screen.
The trace shows everything the RPC system does on your behalf. You can see all the messages (in hexadecimal), and all the stages in the setting up of the communications. If you report a problem with which you need help, it is useful if you include in your report a copy of the trace file (from both client and server is possible).
The command
unsetenv RPC_TRACE_FLAGturns the tracing off again.