Hi Bob,

>    If so, then what can I do to get the zero-copy working?

I would guess that the problem you are seeing is caused by premature 
buffer decallocation.

You should deallocate the buffer when recycle() is called.

However, my guess is that the buffer of aPayload is deallocated when the 
string is destructed.

Martin
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to