-
Notifications
You must be signed in to change notification settings - Fork 20
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
Adds an option to change the listen-on address and exposes the UDP connection #38
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Brian Murray <brian@bmurray.ca>
Hi! |
Sorry about that. Should be good now! |
@bmurray Unfortunately the commits are still not shown as signed. Did you add your signing key |
Adds raw access to the node's underlying socket Signed-off-by: Brian Murray <brian@bmurray.ca>
I'm pretty new to signing so I didn't realize there was a GPG signing option too. Rather confusing. I was able to sign with a new GPG key. It says verified now, so I think its good. |
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.
One small question, rest LGTM! 💪🏻
node.go
Outdated
n.SetOption(opt) | ||
} | ||
|
||
for _, opt := range opts { |
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.
Why is this code block duplicated?
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.
Good catch. Must have slipped in while merging. I don't quite know why it thought that was a merge issue on that line... I'll fix it.
Signed-off-by: Brian Murray <brian@bmurray.ca>
@bmurray Can you please resolve the conflicts? |
This lets the caller set the IP and Port. Useful on multi-homed servers.
This also exposes the udp connection on a Node, in case one wants to send a raw DMX packet, or otherwise.