JustinTulloss / zeromq.node

Node.js bindings to the zeromq library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to receive messages with multiple frames

mango009 opened this issue · 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