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

multipart_t send/recv inconsistent with socket_t #643

Open
jwmelto opened this issue Oct 22, 2024 · 1 comment
Open

multipart_t send/recv inconsistent with socket_t #643

jwmelto opened this issue Oct 22, 2024 · 1 comment

Comments

@jwmelto
Copy link

jwmelto commented Oct 22, 2024

The interface to zmq::socket_t was updated to deprecate using the C flags (such as ZMQ_DONTWAIT), preferring instead enum classes (zmq::recv_flags::dontwait).

However, the zmq::multipart_t::send and recv functions still take integer flags arguments, instead of the enumerations.

It seems that, for consistency, these methods should use the enum classes.

@gummif
Copy link
Member

gummif commented Nov 17, 2024

There is now support for sending and receiving multipart (zmq::send_multipart) that have consistent interface. They make the multipart_t class pretty much deprecated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants