-
Notifications
You must be signed in to change notification settings - Fork 7
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
Add support for udp6 multicast #6
base: master
Are you sure you want to change the base?
Conversation
FYI this is not ready to merge |
please don't put any thing ssb specific in this module, but happy to add links to things. also keep it es5 (so no destructuring please). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is actually ready, I'll test this week and report back.
@@ -34,18 +57,22 @@ module.exports = function (port, loopback) { | |||
var latest = null | |||
|
|||
socket.on('message', function (msg, other) { | |||
if(addresses[other.address] && other.port === port) { | |||
if(loopback === false) return | |||
console.log(msg.toString()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be removed
So this is my first attempt at supporting udp6 multicast for broadcast-stream.
It is off by default, and uses
ff02::114
but you can override that.I also added a lua dissector for wireshark as a useful utility, but maybe that should be in a subfolder like util/ or contrib/ ?
Would love to get your feedback. Cheers!