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

Was it helpful?

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.

OTHER TIPS

there are several way to implement inter process communication in Linux it depended on what exactly it is you are trying to accomplish see here for details :

For exchanging objects between programs on the same or different computers I would use SOAP or CORBA

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top