c++ - Linux - How to pass interprocess messages while preserving datatype -
i'm working on inherited codebase uses posix message queues pass data between processes.
because of nature of mq
, messages have passed in form of bytes
, numbytes
passed along when messages reconstructed, there's lot of ugly static_cast<pvoid>
-ing.
question
is there interprocess message passing interface in linux maintains datatype of content?
or there better way of doing this?
Comments
Post a Comment