Skip to content

feat(socket): Update socket to support setting a specific address for binding multicast#659

Merged
finger563 merged 2 commits into
mainfrom
feat/socket-multicast-bind-interface
Jun 29, 2026
Merged

feat(socket): Update socket to support setting a specific address for binding multicast#659
finger563 merged 2 commits into
mainfrom
feat/socket-multicast-bind-interface

Conversation

@finger563

@finger563 finger563 commented Jun 29, 2026

Copy link
Copy Markdown
Contributor
  • Socket::make_multicast() / add_multicast_group() take an optional interface
    address and set IP_MULTICAST_IF (egress) and imr_interface (join); plumbed
    through UdpSocket Send/ReceiveConfig and driven by the participant's
    bind_address. Fixes multicast defaulting to Wi-Fi on a multi-homed macOS host.

@github-actions

Copy link
Copy Markdown

✅Static analysis result - no issues found! ✅

@finger563 finger563 added enhancement New feature or request socket labels Jun 29, 2026
@finger563 finger563 self-assigned this Jun 29, 2026
@finger563 finger563 merged commit 217d72a into main Jun 29, 2026
119 of 120 checks passed
@finger563 finger563 deleted the feat/socket-multicast-bind-interface branch June 29, 2026 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request socket

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant