views:

111

answers:

3

Hello, 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

A: 

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 :

Alon
Thanks Alon. But it looks like these are for a single-box tools and not between two different linux boxes. I could be wrong, but I will read all the links. Thank you very much. :)
A: 

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

Puppe
I've never used but seems to be interesting. Will check it out. Thanks Puppe. :)
+1  A: 

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.

roe
Protocol Buffers look very exciting! Thanks for the links, roe. They are most useful. :D