Skip to content
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

Binding for zmq_unbind missing #271

Closed
rotty opened this issue May 26, 2019 · 3 comments · Fixed by #300
Closed

Binding for zmq_unbind missing #271

rotty opened this issue May 26, 2019 · 3 comments · Fixed by #300

Comments

@rotty
Copy link
Collaborator

rotty commented May 26, 2019

This should be quite simple to add, so I'll leave this open in case someone feels like trying their hand.

@jean-airoldie
Copy link
Contributor

zmq_unbind doesnt do anything different than zmq_disconnect. However, from what I understand, this might change in the future without notice.

@rotty
Copy link
Collaborator Author

rotty commented Sep 8, 2019

Indeed, quoting the zmq_unbind manpage:

Note that while the implementation is similar to zmq_disconnect(), the semantics are different and the two functions should not be used interchangeably. Bound sockets should be unbound, and connected sockets should be disconnected.

@jean-airoldie
Copy link
Contributor

Yes, but if you actually look at the implementation, its the same.
https://github.com/zeromq/libzmq/blob/0858038367d43665221b8ab701471ba8d9b232bd/src/zmq.cpp#L339.

kalcutter added a commit to kalcutter/rust-zmq that referenced this issue Mar 6, 2020
rotty pushed a commit that referenced this issue Mar 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants