-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: bind/publish to different addresses in non linux (#425)
This makes: * Linux bind to 127.0.0.1 and publish on 127.255.255.255 which allows multiple listeners on the same port as expected. * Windows bind and publish on 127.0.0.1, which also allows multiple listeners. * Mac's lo interface doesn't have `BROADCAST` enabled, so binding multiple listeners is not supported since while we could allow binding multiple listeners, only one of them would get the packets so instead we err. Maybe there's a better way of doing this but in practice nobody's going to be running multiple presentations at once so making this more complicated provides no gain.
- Loading branch information
Showing
5 changed files
with
66 additions
and
11 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
This file contains 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