WebAssembly / WebAssembly/WASI

UDP: Add broadcast & multicast

Open
#721 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.