开发者

Looking for simple example of Boost message_queue and serialization usage

开发者 https://www.devze.com 2023-02-28 23:47 出处:网络
Anyone can share small working example of using together boost message_queue and seri开发者_开发百科alization? I want use classes to exchange data between processes but stuck in my research. You shoul

Anyone can share small working example of using together boost message_queue and seri开发者_开发百科alization? I want use classes to exchange data between processes but stuck in my research.


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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号