Path: utzoo!utgpu!cunews!bnrgate!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request From: mike%ap542@ztivax.siemens.com (Mike Hoffmann) Newsgroups: comp.sys.sun Subject: Sun RPC programming question Keywords: No Digest Subjects in Unmoderated Mode Message-ID: <3713@brchh104.bnr.ca> Date: 5 Jun 91 14:17:00 GMT Sender: news@brchh104.bnr.ca Organization: Sunspots, Pseudo-Unmoderated Lines: 34 Approved: sun-spots@rice.edu X-Original-Date: Tue, 4 Jun 91 12:04:44 GMT Greetings! I am trying to port some software using Sun's RPC. The code is using the clnt_create call. This call is not available on my machine. The call looks like this: cl = clnt_create(server,MESSAGEPROG,MESSAGEVERS,"tcp"); What our machine has is this: clnttcp_create(raddr, prog, vers, sockp, sendsz, recvsz) struct sockaddr_in *raddr; u_long prog; u_long version; register int *sockp; u_int sendsz; u_int recvsz; I found this in /usr/include/rpc/clnt.h I am not familiar with RPC programming, so can someone help me write a clnt_create routine using what I have? I don't even have Sun docs. Replies per e-mail please, I don't read these groups a lot. Thanks Mike -- Mike Hoffmann, Siemens-Nixdorf AG, SNI AP 712 UUCP: mike@ap542.uucp | INTERNET: mike%ap542@ztivax.siemens.com Berlin:1871-1918 Wilhelminian Empire,1933-1945 Third Reich,1945-1990 SED Regime. Bonn: first successful democracy in german history. Let it stay the Capital!