[zeromq-dev] upgrading czmq from 2.0.3 to 3.0.0

Andrew Hume andrew at research.att.com
Thu Oct 16 23:44:51 CEST 2014

i was hoping that some other soul has done this and can say “aha! you did X”
when they hear my problem:

i have a server that does several binds, builds a zmq_poller from those zsock_t *’s,
and then goes into a loop headed by zpoller_wait(list, 1000).
every second, zpoller_wait returns with zpoller_expired(list) being true.

meanwhile, a client successfully connects(ZMQ_REQ) to one of teh binds above,
does a zstr_sendfm to that socket, and then does a zstr_recv which returns zero.

this is bad behavior:
1) the server never sees teh sent string (at least thru zpoller).
2) the client returns straightaway (it should wait fro teh other end).
3) this structure worked fine in 2.0.3.

anything come to mind? is linger hurting me?
otherwise, i will go back to square one and start coding small server client examples
(i thought i had passed that stage three years ago!).

Andrew Hume
949-707-1964 (VO)
andrew at research.att.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20141016/94201490/attachment.htm>

More information about the zeromq-dev mailing list