test_zmq.py freezes on 0mq version 3.2.3 whereas it works fine on version 2.2.0
Increasing the sleep duration doesn't seem to help.
It works if the PUB socket issues the bind.
In test_zmq2.py the SUB finally catches the message after dropping the first n. (n varies from 90 to 12000 in my case).
Debian
Also, this is what happens when I quit the process:
^CTraceback (most recent call last):
File "test_zmq.py", line 18, in <module>
main()
File "test_zmq.py", line 14, in main
print ssocket.recv()
File "socket.pyx", line 587, in zmq.core.socket.Socket.recv (zmq/core/socket.c:5359)
File "socket.pyx", line 621, in zmq.core.socket.Socket.recv (zmq/core/socket.c:5178)
File "socket.pyx", line 130, in zmq.core.socket._recv_copy (zmq/core/socket.c:1690)
File "checkrc.pxd", line 11, in zmq.core.checkrc._check_rc (zmq/core/socket.c:5669)
KeyboardInterrupt
try.py shows an interesting thing. It seems like a recv call is needed on the subscription side before a message on the publish side ever makes it when doing the connect from the publish side. In the case of my computer it required 3 non-blocking recv calls with that slight delay before a pub/sub action would complete
Duplicate of