zeromq.node
zeromq.node copied to clipboard
How to receive messages with multiple frames
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