[zeromq-dev] zmqstream with req socket only sends the first message

drebs drebs at riseup.net
Mon Feb 2 21:58:27 CET 2015


Hello, zmq community.

I'm trying to use a pyzmq's zmqstream with a REQ socket to talk to a txzmq REP
socket, but only the first message is ever sent and received back.

REQ pyzmq endpoint code: http://paste.debian.net/143615/
REP txzmq endpoint code: http://paste.debian.net/143617/

I would expect that all the messages would be sent. Am I missing something
here?

If I let some requests accumulate, and then start the server, all the
accumulated requests are replied, but the new ones are not sent.

If I replace the REQ endpoint by a pure pyzmq version with no zmqstream or
ioloop, it works fine (http://paste.debian.net/143619/).

Anyone can give some light on this?

Thanks a lot!
drebs.

-- 





More information about the zeromq-dev mailing list