Is there any C\C++ Cross-platform library for sharing data between app's?
Asked
Active
Viewed 727 times
2
-
what do you mean exactly? Exchanging messages? – Nikko Jun 02 '10 at 15:49
-
See [cross platform IPC](http://stackoverflow.com/questions/60649/cross-platform-ipc) – Matthew Flaschen Jun 02 '10 at 15:50
-
You need to define what you mean by "data" and "sharing" in you question. As it's too broad to really answer effectively. – GrafikRobot Jun 02 '10 at 16:37
6 Answers
8
Obviously the answer to your question is.. Yes there are many cross platform libs for sharing data between applications. For example Boost has Boost Serialization, for data storage and reading, and Boost Interprocess, for in-memory data sharing.

GrafikRobot
- 3,020
- 1
- 20
- 21
2
A cross platform library with a lot of OS abstractions is ACE. You can look in the samples that come along with the tarball for detailed examples.

INS
- 10,594
- 7
- 58
- 89
-
I'm looking for boost libraries that implement some of the ACE Proactor/Reactor stuff. Anyone comes across anything? – Chris K Jun 02 '10 at 17:13
-
And is it a bad sign that www.cs.wustl.edu/~schmidt/ACE.html is permanently burned into my brain? – Chris K Jun 02 '10 at 17:14
1
For messaging ?
- Json (simple and easy)
- Google Protocol Buffers (tad more complicated, thus more powerful)
- XML (widely deployed, but you don't want it)
Or did you mean more than just the protocol ?

Matthieu M.
- 287,565
- 48
- 449
- 722
0
UDP or TCP.
Open a port using sockets. You'll find numerous examples of such when you google "c sockets"

Jamie
- 7,075
- 12
- 56
- 86