Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: spidey@rtp.vnet.ibm.com
Subject: Re: Portable RPC package?
Date: 11 May 1994 13:48:20 GMT	[thread overview]
Message-ID: <2qqnn4$e53@sernews.raleigh.ibm.com> (raw)
In-Reply-To: 2qmgl4$phg@uqcspe.cs.uq.oz.au

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!





      reply	other threads:[~1994-05-11 13:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-05-09  5:14 Portable RPC package? Bruce B. Lacey
1994-05-09 23:23 ` Colin Rhodes
1994-05-11 13:48   ` spidey [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox