I am trying to do remote function call in c++. The scenario is like this.

There are two programs running say P1 and P2. P1 is trying to call a function implemented in P2. The program P1 calls a function using an object which will make a call to a particular function in P2. It is like a function is defined in P2 and the P1 contains a proxy of it.But there are many functions defined in P2 like this which will be called from P1.

Any ideas as to how can we make this work?

Hope I am clear.

Thank you.

Check RPC in c++

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.