🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #8656

Trying to build a Dynamic RPC

#8656
From: Vangati Narender Reddy
Date: Thu, 27 Jun 1991 20:22
29 lines
1743 bytes
Hello folks,
I am trying to develop a dynamic RPC system (based on Sun RPC) in which
clients do not have to compile with the generated client stubs. They
should be able to use a run-time library to make RPC calls..This would
eliminate the need of the clients depending on the servers and compiling
everytime the server changes.

For this the major problem I am facing is run-time marshalling of the
arguments of a procedure. Native data types of a language can be
implemented easily enough, but 
user-defined data types pose difficulties.

Accepting of these structures has to be done as a char * as we do not
know what to expect at compile time. At run time, we do know what to
expect (from the parameters of the procedure), but the accesing of the
fields of these structures cannot be done. Advancement of the pointer by
a certain number of bytes depending upon the type to expect turns out to
be very much architechture dependent.

I would appreciate some comments on this and any pointers to help me
solve this problem. Has anybody ever attempted this before or are doing
so now? Any suggestions would be useful.

V. Narender Reddy
Concurrent Engineering Research Center
Morgan Town, WV - 26505
Ph: (304) - 293 - 7226

vnr@cerc.wvu.wvnet.edu
Technical Details
Message-ID: <4025@brchh104.bnr.ca>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request
From: vnr@seneca.berkeley.edu (Vangati Narender Reddy)
Newsgroups: comp.sys.sun
Subject: Trying to build a Dynamic RPC
Keywords: No Digest Subjects during Flush
Message-ID: <4025@brchh104.bnr.ca>
Date: 27 Jun 91 20:22:00 GMT
Sender: news@brchh104.bnr.ca
Organization: Sunspots, Flush Mode
Lines: 30
Approved: sun-spots@rice.edu
X-Original-Date:    13 Jun 91 12:56:36 GMT