Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 373
Debugger Avatar asked Dec 22 '22 06:12

Debugger


1 Answers

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.

like image 195
Nicol Bolas Avatar answered Dec 24 '22 02:12

Nicol Bolas