Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error binding multicast metatraffic port on macOS #323

Closed
orecham opened this issue Aug 10, 2024 · 0 comments · Fixed by #332
Closed

Error binding multicast metatraffic port on macOS #323

orecham opened this issue Aug 10, 2024 · 0 comments · Fixed by #332

Comments

@orecham
Copy link

orecham commented Aug 10, 2024

The minimal examples fail on macOS with the following error after starting the second process of the publisher-subscriber pair:

thread 'main' panicked at dds/examples/best_effort_publisher.rs:23:10:
called `Result::unwrap()` on an `Err` value: Error("Address already in use (os error 48)")
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

This is presumably due to different behaviour on Linux and macOS (I have not tested on Linux myself yet but figured that these examples work there), as described here: https://stackoverflow.com/questions/51998042/macos-so-reuseaddr-so-reuseport-not-consistent-with-linux

@stkimmer stkimmer linked a pull request Aug 14, 2024 that will close this issue
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 a pull request may close this issue.

1 participant