-
Notifications
You must be signed in to change notification settings - Fork 67
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
UdpBuilder.reuse_address does not work on OS X #46
Comments
Maybe this option just isn't supported on OSX? What's the error you're seeing? |
The only error i see on OS X is "address in use". Digging further into this, I tried to use |
Perhaps? I forget the specifics here of how cross platform this API is... |
@oyiptong it depends on how to interpret you these options SO_REUSEADDRIndicates that the rules used in validating addresses supplied In short: if you bind "192.168.0.1:21", and another socket attempts to bind to "0.0.0.0:21" it will fail without option SO_REUSEPORTPermits multiple AF_INET or AF_INET6 sockets to be bound to an In short: you can bind to the SAME address as much sockets, as you want as long as they all have this option set. |
UdpBuilder.reuse_address
seems to work fine on Linux but not on OS XThe text was updated successfully, but these errors were encountered: