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

UDP: Add broadcast & multicast #73

Open
badeend opened this issue Nov 15, 2023 · 0 comments
Open

UDP: Add broadcast & multicast #73

badeend opened this issue Nov 15, 2023 · 0 comments

Comments

@badeend
Copy link
Collaborator

badeend commented Nov 15, 2023

Relevant socket options:

  • SO_BROADCAST
  • MCAST_JOIN_GROUP (IP_ADD_MEMBERSHIP, IPV6_JOIN_GROUP, IPV6_ADD_MEMBERSHIP)
  • MCAST_LEAVE_GROUP (IP_DROP_MEMBERSHIP, IPV6_LEAVE_GROUP, IPV6_DROP_MEMBERSHIP)
  • MCAST_JOIN_SOURCE_GROUP (IP_ADD_SOURCE_MEMBERSHIP)
  • MCAST_LEAVE_SOURCE_GROUP (IP_DROP_SOURCE_MEMBERSHIP)
  • MCAST_BLOCK_SOURCE (IP_BLOCK_SOURCE)
  • MCAST_UNBLOCK_SOURCE (IP_UNBLOCK_SOURCE)
  • IP_MULTICAST_IF
  • IPV6_MULTICAST_IF
  • IP_MULTICAST_LOOP
  • IPV6_MULTICAST_LOOP
  • IP_MULTICAST_TTL
  • IPV6_MULTICAST_HOPS
  • IP_MULTICAST_ALL
  • IPV6_MULTICAST_ALL
  • IP_MULTICAST_IFINDEX
  • IP_MSFILTER
  • IPV6_MSFILTER

Relevant functions:

  • get/setsourcefilter
  • get/setipv4sourcefilter

TODO:

  • Interaction with SO_REUSEADDR & SO_REUSE_MULTICASTPORT
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

No branches or pull requests

1 participant