[zeromq-dev] Any way to make inproc type-safe?

Bjorn Reese breese at mail1.stofanet.dk
Fri Nov 15 09:30:32 CET 2013

On 11/14/2013 09:49 PM, Lindley French wrote:

> blobs. This is probably not true; it appears you can just pass a pointer
> to an object. So long as there's no memcpy() of any kind happening under
> the hood (which is torture on some C++ objects), it's probably "fine".
> However, it still throws away type information, which is undesirable.

Another issue is object ownership -- who controls the life-time of the
object. In other words, when is it safe to deallocate the object? Keep
in mind, that ZeroMQ may drop messages if the high water mark is set.

More information about the zeromq-dev mailing list