WebAssembly / WebAssembly/WASI
UDP: Add broadcast & multicast
Open
Nobody has claimed this yet.
P-sockets
S-inactive
- Dominant language
- Rust
- Stars
- 5.8k
- Forks
- 333
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 3
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names UDP socket options and source-filter functions but no files, tests, or entry points. Start by locating the WASI UDP socket API that owns these options, then define the scope for broadcast, multicast, source filtering, and the SO_REUSEADDR/SO_REUSE_MULTICASTPORT interaction; done means the selected operations are specified and implemented with coverage for the stated behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- wasm
- Domain
- networking, operating-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100