From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10ff62,8b2ccf6d0c6ed5c7 X-Google-Attributes: gid10ff62,public X-Google-Thread: fc89c,8b2ccf6d0c6ed5c7 X-Google-Attributes: gidfc89c,public X-Google-Thread: f678f,8b2ccf6d0c6ed5c7 X-Google-Attributes: gidf678f,public X-Google-Thread: f9325,8b2ccf6d0c6ed5c7 X-Google-Attributes: gidf9325,public X-Google-Thread: fa91f,8b2ccf6d0c6ed5c7 X-Google-Attributes: gidfa91f,public X-Google-Thread: 111308,8b2ccf6d0c6ed5c7 X-Google-Attributes: gid111308,public X-Google-ArrivalTime: 1994-05-11 07:37:54 PST Path: bga.com!news.sprintlink.net!sundog.tiac.net!usenet.elf.com!rpi!gatech!howland.reston.ans.net!pipex!doc.ic.ac.uk!aixssc.uk.ibm.com!watnews.watson.ibm.com!sernews.raleigh.ibm.com!usenet From: spidey@rtp.vnet.ibm.com Newsgroups: comp.client-server,comp.unix.osf.misc,comp.protocols.tcp-ip,comp.unix.programmer,comp.os.ms-windows.networking.tcp-ip,comp.os.ms-windows.programmer.networks Subject: Re: Portable RPC package? Date: 11 May 1994 13:48:20 GMT Organization: ISSC Southeast Region Message-ID: <2qqnn4$e53@sernews.raleigh.ibm.com> References: <2qkgsh$rt0@news.cerf.net> <2qmgl4$phg@uqcspe.cs.uq.oz.au> Reply-To: spidey@rtp.vnet.ibm.com NNTP-Posting-Host: ospidey.raleigh.ibm.com X-Newsreader: IBM NewsReader/2 v1.00 Xref: bga.com comp.client-server:1661 comp.unix.osf.misc:508 comp.protocols.tcp-ip:3077 comp.unix.programmer:3818 In <2qmgl4$phg@uqcspe.cs.uq.oz.au>, crhodes@cs.uq.oz.au (Colin Rhodes) writes: >As an extension to Bruce's request, I'm working for a Brisbane based company >that will implementing a generic client server architecture between OS/2 >(Presentation manager), and AIX3.2.4. Since we could end up sending anything >information off scanned cards to full graphics images, this will need to be >_really_ generic (ie. not just an ad hoc approach) Later ports could take us >anywhere. > >Three cannonical questions arise! > >1. Does anyone have any experience with doing something like this? If so, >are there any good resources that you used? > >2. Obviously we can choose between sockets, RPC, or something similar. Again, >has anyone made this choice for client server stuff. Why? > >3. Portability is an issue. Comments? > >Any and all replies will be appreciated. If interest is high I'll post a >summary. > >Ta all > >Colin. Colin, Opinions to your questions: 1) Any experience. Not sure if this helps I am not doing graphics specifically but have done Multi client with Multi server implementation with data ranges around 8k of mixed format data. With respect to RPC programming you may want to look at "Power programming in RPC" as a good starter. They may even have an example to help you out. 2) We chose SUN RPC versus sockets and here are the reasons - RPC provides routines for doing the necessary byte swapping, character conversion and portability we needed since the clients and servers were not all intel machines, not all ascii and some were windows. - RPC provided an easy interface for setting up and managing the connections as well as locating the server for the function in a network. 3) We initially had a portability issue with the multitude of TCP stacks available for Windows. The code we had written was portable from to Unix, OS/2 and other environments but on Windows we had differences for the vendor stacks. We ended up using a WINRPC.DLL available from Noblenet that provided access to all the RPC functions we used and sits on top of WINSOCK. This made the code portable with respect to the RPC aspects by isoalting against system calls. Jim Sliwa Disclaimer: The opinions expressed are mine and not those of my employer. Any reference to products is not an endorsement by myself or my employer. --- When the snake and the mongoose meet the mongoose prevails --- For it is the jaws with which we speak --- not the venom with which we say it --- that determines our strength!