开发者

Looking for simple example of Boost message_queue and serialization usage

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜