WIP: Use per-interface per-protocol sockets by agners · Pull Request #1568 · python-zeroconf/python-zeroconf
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
marked this pull request as draft
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters