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

Expose the nn_send & nn_recv feature that are not accessible through the reader API #55

Open
blabaere opened this issue Nov 10, 2014 · 2 comments

Comments

@blabaere
Copy link
Collaborator

For nn_send, we could start by just exposing a non-blocking version of write. I quite don't see how to integrate nn_allocmsg correctly for the moment.
For nn_recv, there are four cases and two of them are already available in the reader API. We need to add the non-blocking versions of read and read_to_end.

@thehydroimpulse
Copy link
Owner

Agreed!

@blabaere
Copy link
Collaborator Author

blabaere commented Feb 9, 2015

Now only remains to be implemented nn_send with the nn_msg zero-copy option. I'd like a new function to expose the fact that the buffer must not be used after being sent. It's the kind of constraint that rust should be able to express quite nicely.

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

No branches or pull requests

2 participants