From: Jake on
I have a process which provides some functions.
I need to call these functions from a different process.
Both processes will always be on the same box.
All the code will be in C/C++.

I am planning to use pipes with proxying & marshaling to
do this.

I am confused as to how to make a decision on whether to
use named or anonymous pipes for this? What are the
advantages/disavantages for either?

This needs to be very lightweight. I am not planning to use
SOAP or some other RPC mechanism for this. So I was
also wondering if there already are any free lightweight free
libraries available to do all this so that I don't need to roll
my own.



From: nico on
Jake wrote:
> I have a process which provides some functions.
> I need to call these functions from a different process.
> Both processes will always be on the same box.
> All the code will be in C/C++.
>
> I am planning to use pipes with proxying & marshaling to
> do this.
>
> I am confused as to how to make a decision on whether to
> use named or anonymous pipes for this? What are the
> advantages/disavantages for either?

Rather named pipes.
You can see MSDN doc :
http://msdn.microsoft.com/en-us/library/aa365137(VS.85).aspx