-
Notifications
You must be signed in to change notification settings - Fork 635
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft constants are missing: ZMQ_RECONNECT_STOP_* #1789
Comments
You're right, these draft constants are not yet exported. draft support in pyzmq is often incomplete. In the meantime, you can use their actual values (1, 2, 3). pyzmq doesn't need to be aware of most libzmq constants for them to be used. |
I tried to use them like this: |
I've never used these options, but I believe those are values for the ZMQ_RECONNECT_STOP option: socket.setsockopt(zmq.RECONNECT_STOP, 1) # or 2 or 3 |
I wanted to try and see if they would solve the lack of error messages from ZMQ for TCP peers that can't be connected to but these constants are missing.
The text was updated successfully, but these errors were encountered: