-
Notifications
You must be signed in to change notification settings - Fork 70
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
Pub/Sub on a particular topic? #31
Comments
@pselden Right now, this is hardcoded: https://github.com/nickdesaulniers/node-nanomsg/blob/master/src/node_nanomsg.cc#L31 We should instead be doing this from JavaScript: https://github.com/nickdesaulniers/node-nanomsg/blob/master/lib/index.js#L230 It would involve adding And calling setsockopt after a sub socket is created, probably: https://github.com/nickdesaulniers/node-nanomsg/blob/master/lib/index.js#L86 If you have time, we'd gladly accept a PR fixing this and running your test given case. :) |
+1 notice that people may use binary protocol so the filter/topic-prefix better support Buffer/ArrayBuffer |
+1 |
I think this might actually be broken upstream. See #51 (comment) |
I'm having trouble subscribing/publishing to a particular socket. Whatever I do, my subscriber ends up receiving all messages.
Is this not implemented?
The text was updated successfully, but these errors were encountered: