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

Support new options #2

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

lukaszsamson
Copy link

This PR adds new socket options, socket type and error code introduced in ZMQ versions 4.0, 4.1, 4.2 and 4.3. As this library does not requre specific version the new options are behind #if

skaes added a commit to skaes/erlzmq that referenced this pull request Aug 30, 2020
* add multi part send and receive

This reduces coding effort for working with multipart messages. And it's
also more efficient, especially for messages with a large number of parts.

* handle EINTR during send/receive-multipart

It's possible that during a multipart send/receive the zmq operation is
interrupted by a signal. In this case the multipart should continue
trying, so that a multi part message is either fully received, or not at
all (if the recv/send is the first operation).

* multipart send/recv: replace errno by zmq_errno() to support NON POSIX systems

* multipart send/recv: added timeout test
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

Successfully merging this pull request may close these issues.

1 participant