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

Adds an option to change the listen-on address and exposes the UDP connection #38

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

Conversation

bmurray
Copy link
Contributor

@bmurray bmurray commented Jan 29, 2024

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.

Signed-off-by: Brian Murray <brian@bmurray.ca>
@jsimonetti
Copy link
Owner

Hi!
Thank you for your contribution. Not all your commits contain a sign-off. Could you please sign-off on these? I dont mind if you squash everything.

@bmurray
Copy link
Contributor Author

bmurray commented Jan 29, 2024

Sorry about that. Should be good now!

@aklinkert
Copy link
Contributor

@bmurray Unfortunately the commits are still not shown as signed. Did you add your signing key brian@bmurray.ca to GitHub?

Adds raw access to the node's underlying socket

Signed-off-by: Brian Murray <brian@bmurray.ca>
@bmurray
Copy link
Contributor Author

bmurray commented Feb 1, 2024

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.

Copy link
Contributor

@aklinkert aklinkert left a 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 {
Copy link
Contributor

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?

Copy link
Contributor Author

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>
@aklinkert
Copy link
Contributor

@bmurray Can you please resolve the conflicts?

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.

3 participants