I'm working on inherited codebase that uses POSIX Message Queues to pass data between processes.
Because of the nature of mq
, the messages have to be passed in form of bytes
and the numbytes
passed along so when the messages are reconstructed, there's a lot of ugly static_cast<PVOID>
-ing.
QUESTION
Is there an interprocess message passing interface in Linux that maintains the datatype of the content?
Or is there a better way of doing this?