Xref: utzoo alt.toolkits.xview:181 comp.unix.programmer:1762 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!sdd.hp.com!spool.mu.edu!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!dkuug!resam!andrew From: andrew@resam.dk (Leif Andrew Rump) Newsgroups: alt.toolkits.xview,comp.unix.programmer Subject: Is RPC servers in XView programs possible Message-ID: <1991May7.140605.10783@resam.dk> Date: 7 May 91 14:06:05 GMT Organization: RESAM Project Office, SAS, CPHML-V Lines: 30 Hello world! I just want to hear some expert opinions (that's You) before I dig into unknown land! I want to create an XView application that has a RPC server running as a child process (so when the application terminates it brings the server down). I'm thinking of creating a pipe before I fork the RPC server so the two processes may communicate (the server awaits a RCP call (from another application) and when it happens it write something to the pipe which envokes the notifer which has been told to keep an eye on the pipe (using notify_set_input_func()). The callback routine which is trigged by the notifer writes something to the pipe and returns leaving the rest to the RPC server. Does it work? Any problems? Anything to look for? Anything... Andrew Leif Andrew Rump, AmbraSoft A/S, Stroedamvej 50, DK-2100 Copenhagen OE, Denmark UUCP: andrew@ambra.dk, phone: +45 39 27 11 77 / Currently at Scandinavian Airline Systems =======/ UUCP: andrew@resam.dk, phone: +45 32 32 51 54 \ SAS, RESAM Project Office, CPHML-V, P.O.BOX 150, DK-2770 Kastrup, Denmark If it's broke, fix it (The MS-DOS way) If it aint broke, don't touch it (The Unix way) If we can't fix it, it ain't broke (Maintainer's Motto) If you can't fix it, fuck it (The U-boat way)