home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!pipex!warwick!uknet!vision!chris
- From: chris@visionware.co.uk (Chris Davies)
- Newsgroups: comp.unix.questions
- Subject: Re: Problem in unix RPC
- Message-ID: <1993Jan25.183401.21127@visionware.co.uk>
- Date: 25 Jan 93 18:34:01 GMT
- References: <1993Jan24.151308.8625@dragon.acadiau.ca>
- Sender: news@visionware.co.uk (News Admin)
- Organization: VisionWare Ltd., Leeds, UK
- Lines: 18
- X-Newsreader: Tin 1.1 PL5
-
- Wing Ho Kwan - Louie (890758k@dragon.acadiau.ca) wrote:
- : Hi, I am doing some programming in unix rpc.
- : I know that I can pass the value to the server side by call by value.
- : and can get some update date from the return function value.
- : But can I do a function with call by reference and though it
- : to modify something.
-
- With Sun RPC (and probably the others too, but I don't know for sure)
- it only makes sense to pass a parameter by value. A memory location
- won't be much good if it's on a different machine. However, you could
- always arrange for a function to return the updated value, which would
- give you pretty much the same effect.
-
- Chris
- --
- VISIONWARE LTD, 57 Cardigan Lane, LEEDS LS4 2LE, England
- Tel +44 532 788858 x238. Fax +44 532 304676. Email chris@visionware.co.uk
- ---------- "VisionWare: The home of DOS/SQL/UNIX/X/VMS integration" ---------
-