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

SO_REUSEADDR doesn't work this way #745

Open
constfun opened this issue Jun 30, 2018 · 0 comments
Open

SO_REUSEADDR doesn't work this way #745

constfun opened this issue Jun 30, 2018 · 0 comments

Comments

@constfun
Copy link

However, a quick check of stackoverflow.com and some memory of a socket option called SO_REUSEADDR turns up gold. If I use that, I can bind several processes to the same UDP port, and they will all receive any message arriving on that port.
http://zguide.zeromq.org/page:all#Multiple-Nodes-on-One-Device

I don't think this is how SO_REUSEADDR works. It will not allows you to run multiple nodes on the same machine while binding to the broadcast address. You will get the same EADDRINUSE error.

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

No branches or pull requests

1 participant