views:

135

answers:

6

Is there any C\C++ Cross-platform library for sharing data between app's?

+2  A: 

SQLite

Doug Currie
+1  A: 

Google's Protocol Buffers might fit the bill.

Mark Ransom
+1  A: 

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.
+2  A: 

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.

Iulian Şerbănoiu
I'm looking for boost libraries that implement some of the ACE Proactor/Reactor stuff. Anyone comes across anything?
Chris Kaminski
And is it a bad sign that www.cs.wustl.edu/~schmidt/ACE.html is permanently burned into my brain?
Chris Kaminski
A: 

UDP or TCP.

Open a port using sockets. You'll find numerous examples of such when you google "c sockets"

Jamie
+6  A: 

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