Debugger
Debugger

Reputation: 9488

Is there an API in C++ for remote inter-process communication?

I'm looking for the equivalent of RMI API (in java) in C++ standards. The processes will be running in different machines.

Upvotes: 4

Views: 1419

Answers (2)

Kirill V. Lyadvinsky
Kirill V. Lyadvinsky

Reputation: 99535

C++ Standard can't help you in here. You can use DCOM or Corba (and there are more) depending on which OS you're using.

Upvotes: 3

Nicol Bolas
Nicol Bolas

Reputation: 473202

There are many C++ APIs for inter-process communication. But none of them are part of the C++ standard library.

I suggest using Boost.Interprocess.

But if you're talking across different machines, you need networking, not interprocess communication. That requires a networking library (also not standard); Boost.Asio is a reasonable networking library.

Upvotes: 8

Related Questions