zeromq.node icon indicating copy to clipboard operation
zeromq.node copied to clipboard

How to receive messages with multiple frames

Open mango009 opened this issue 7 years ago • 0 comments

I cannot seem to be able to find a way to receive messages with multiple frames. I used a dealer-dealer pattern and the peer send two frames with ZMQ_SNDMORE in the first send.

Do I get a contiguous Buffer on the receiver side? I'm getting random length of frame data in my socket.on('message) callback.

Thanks for any help

mango009 avatar Oct 24 '17 22:10 mango009