RPCs

From: Eric COMMELIN <Eric.Commelin_at_nospam.org>
Date: Mon Dec 04 1995 - 05:13:57 PST

Hello,

I am a PhD student trying to see if VSTa can be used to write servers to
implement active and shared C++ objects.

Here is my problem:

- when a message is sent using M_READ, the buffer the kenel is provided is
  used to receive the data from the server. The client can provide data
  to the server in this buffer, because it will not be copied in the
  server's address space.

- if a message is sent without using M_READ, the server can read the data
  contained in the buffer, but it can not write this buffer to send his
  ansewer.

And my questions:

- Is it right, or did I misundestood something?

- Can I use a single msg_send to send raw data to a server an receive raw
  data from it? Do you see another way?

I would like to implement RPCs with 'in' and 'out' params coded in the
messages, as does the MIG (Mach Interface Generator) for the Mach
micro-kernel.

Thank you.

        Regards,

                        Eric Commelin.
Received on Mon Dec 4 05:17:32 1995

This archive was generated by hypermail 2.1.8 : Thu Sep 22 2005 - 15:12:38 PDT