Path: utzoo!utgpu!attcan!uunet!husc6!psuvax1!rutgers!ucsd!ucbvax!agate!bosco.berkeley.edu!cotner From: cotner@bosco.berkeley.edu Newsgroups: comp.unix.questions Subject: Help needed on executing RPC calls Keywords: SUN rpc Message-ID: <12933@agate.BERKELEY.EDU> Date: 4 Aug 88 00:05:32 GMT Sender: usenet@agate.BERKELEY.EDU Reply-To: cotner@.berkeley.edu Organization: Math Dept., UC Berkeley Lines: 16 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