Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Looking for simple example of Boost message_queue and serialization usage

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.

like image 637
rimas Avatar asked Mar 22 '26 07:03

rimas


1 Answers

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).

like image 115
John Zwinck Avatar answered Mar 23 '26 20:03

John Zwinck



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!