Linux & C++: Easy way to exchange objects between two processes
-
10-07-2019 - |
Question
I would like to know what is the easiest way (amongst various alternatives) to exchange objects (or some data) between two linux-based systems.
It appears socket-programming could be a choice, but I have not done it earlier so I am not sure if it is the best way. Could anyone point me to a reference please?
TIA, Sviiya
Solution
You could have a look at Boost IPC, as well as Google's Protocol Buffers. Or just generally, read this SO post concerning platform independent IPC, it's not exactly what you want, but should give you some good pointers.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow