[comp.unix.questions] Help needed on executing RPC calls

cotner@bosco.berkeley.edu (08/04/88)

I've just started learning the remote procedure calls for the SUN OS,
but I'm interested in executing a command like 

	rsh machinename instruction

from within a C program.  Can anyone please send me a code fragment to
do this?  The low-level calls in the SUN Networking Manual look very
complicated.

I'm also curious as to which library call returns the name of the server
from any client.


Any help would be appreciate.

CC