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

Sockets: Add UDP multicast group support #35521

Merged
merged 1 commit into from
May 4, 2020
Merged

Conversation

staticfloat
Copy link
Member

@staticfloat staticfloat commented Apr 19, 2020

Adds two functions join_multicast_group() and leave_multicast_group for usage with UDP multicast groups. Closes #21300

@staticfloat staticfloat requested a review from tanmaykm April 29, 2020 16:43
@@ -22,6 +22,8 @@ export
recv,
recvfrom,
send,
join_multicast_group,
leave_multicast_group,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nodejs calls these "addMembership/addSourceSpecificMembership" and "dropMembership/dropSourceSpecificMembership" (https://nodejs.org/dist/latest-v14.x/docs/api/dgram.html)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I see a lot of different names around. I figured that these names were as self-explanatory as possible.

Adds two functions `join_multicast_group()` and `leave_multicast_group` for usage with UDP multicast groups.
@staticfloat staticfloat merged commit 6418be9 into master May 4, 2020
@staticfloat staticfloat deleted the sf/udp_multicast branch May 4, 2020 19:16
@ufechner7
Copy link

Great job! :)

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.

Please add a function to join an UDP multicast group
4 participants