3

Anyone can share small working example of using together boost message_queue and serialization? I want use classes to exchange data between processes but stuck in my research.

John Zwinck
  • 239,568
  • 38
  • 324
  • 436
rimas
  • 757
  • 2
  • 8
  • 18

1 Answers1

1

You should be able to work through this. First try (using the documentation) to make a message queue pass strings back and forth. Then try using Serialization to turn a struct into a bunch of bytes. Then it should be obvious how to bring it all together. If you get stuck, just ask (and post some code showing where you're at).

John Zwinck
  • 239,568
  • 38
  • 324
  • 436