Skip to content

WIP: Use per-interface per-protocol sockets#1568

Draft
agners wants to merge 2 commits intomasterfrom
use-separate-listening-sockets-per-interface
Draft

WIP: Use per-interface per-protocol sockets#1568
agners wants to merge 2 commits intomasterfrom
use-separate-listening-sockets-per-interface

Conversation

@agners
Copy link
Collaborator

@agners agners commented Apr 16, 2025

Instead of using one global socket for all interfaces, use one socket per interface and per protocol. This allows better control over which interfaces are used for multicast and unicast, and allows to know which interface a packet was received on.

TODO: Uses Linux/macOS specific socket options to bind to an interface.

Instead of using one global socket for all interfaces, use one socket
per interface and per protocol. This allows better control over
which interfaces are used for multicast and unicast, and allows
to know which interface a packet was received on.

TODO: Uses Linux/macOS specific socket options to bind to an interface.
@agners agners force-pushed the use-separate-listening-sockets-per-interface branch from 64729cf to c702feb Compare April 16, 2025 23:08
@agners agners marked this pull request as draft April 17, 2025 11:10
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.

1 participant