JustinTulloss / zeromq.node

Node.js bindings to the zeromq library
MIT License
1.65k stars 284 forks source link

ZMQ msg len in push-pull socket is zero? #587

Open akatav opened 7 years ago

akatav commented 7 years ago

I send a small image file in 1024 byte chunks from zmq server to zmq client over push-pull socket. I get most of the file but the last 9KB. On doing console.log, it shows that message length received is zero! I took a look at this stackoverflow page - http://stackoverflow.com/questions/38420559/receiving-0-size-messages-while-using-zmq-and-protobuf which advises on using libzmq3-dev package. I am on win7 64-bit. How should this package be installed on windows (if this is the fix) If not, pls suggest other approaches to fix this issue. Thanks

ronkorving commented 7 years ago

I'm sorry to say I don't have an answer or theory re. your problem. Also, I don't use Windows so can't really comment on that. I hope you figure it out. Let us know when it's resolved please.