[Boost-Interprocess] Suggested approach for message_queue with dynamically sized messages
14 Apr
2014
14 Apr
'14
11:49 p.m.
I want to use boost::interprocess and message_queue...however, the need to specify a max message size is an inhibitor because my message data doesn't necessarily have a limit in size. What is the suggested approach for this scenario? The best I can think of at the moment is to have a "start object" and "stop object" message, and then a "data" message. Then I just send the object in chunks of max_msg_size and reconstitute on the other side. This is all quite possible of course, but if there was a prescribed way to handle this without opening myself to these complexities it would be nice. Thanks in advance, Rob Conde
3880
Age (days ago)
3880
Last active (days ago)
0 comments
1 participants
participants (1)
-
Rob Conde