Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!voder!pyramid!athertn!joshua From: joshua@athertn.Atherton.COM (Flame Bait) Newsgroups: comp.sys.apollo Subject: NCS/RPC question Message-ID: <30468@joshua.athertn.Atherton.COM> Date: 17 Sep 90 00:12:59 GMT Reply-To: joshua@Atherton.COM (Flame Bait) Organization: Atherton Technology, Sunnyvale, CA Lines: 37 I'm trying to get an NCS/RPC application written. I've got a client and server which are almost identical to the binoplu example. Whenever I try to run the client I get this error: *** Exiting: exception caught by PFM system cleanup handler *** odd address error (OS/fault handler) The binoplu example runs on my machine, so the location broker must be working. I copied most of my code from pages 34-36 of NETWORK COMPUTING SYSTEM REFERENCE MANUAL by Kong et al. My specific questions are: Does this error mean something specific? Or is it a SNAFU type message? Are there typos in the book which might be biting me? A slightly more general question is this: How do I specify (in NIDL) a routine which will return a variable number of integers, when the exact number will only be known by the server routine at run time. What I want is something like this: int cr$ints( handle_t [in] h , int [out] *osize , int [out,last_is(osize)] odata[] ) ; This doesn't work, since osize must be an [in,out] paramter or nidl will not accept it. Because of problem one, I do not know if this will work at run time at all. (Is this causing problem one?) This is all happening on a Sun 3/60 running SunOS 4.0.3 and NCK/NIDL 1.5.1. Thanks for any help. Joshua Levy (joshua@atherton.com)