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
Adding SO_REUSEPORT to Unix lib #3512
Comments
Comment author: administrator
Well, SO_REUSEPORT is a BSD-ism that isn't present everywhere. It is Also, http://www.unixguide.net/network/socketfaq/4.11.shtml quotes But when binding a multicast address (its main use), SO_REUSEADDR is So, there might be something non-standard in MacOS X about this. Regards,
|
Comment author: administrator BSDism, not standard enough? XL, 2005-03-08 |
Comment author: administrator Hello Xavier, thanks for the response. You're right that it is a BSDism, though I don't believe that Darwin Thanks, -Alon. On Mar 8, 2005, at 12:40, Xavier Leroy wrote:
|
Comment author: @mshinwell It sounds like SO_REUSEPORT has become more widespread now (2016) so we might consider adding this. |
Comment author: @xavierleroy Stevens must be spinning in his grave... A pull request on Github implementing this feature would be welcome. |
This issue has been open one year with no activity. Consequently, it is being marked with the "stale" label. What this means is that the issue will be automatically closed in 30 days unless more comments are added or the "stale" label is removed. Comments that provide new information on the issue are especially welcome: is it still reproducible? did it appear in other contexts? how critical is it? etc. |
I'm willing to admit that |
Support the SO_REUSEPORT socket option. Closes: #3512
Original bug ID: 3512
Reporter: administrator
Status: acknowledged
Resolution: open
Priority: normal
Severity: feature
Category: otherlibs
Bug description
Full_Name: Alon Kama
Version: 3.08-2
OS: OS X (darwin)
Submission from: 85-64-152-87.barak.net.il (85.64.152.87)
On 4.4BSD, In order to use IP Multicasting, the SO_REUSEPORT must be given as a
parameter to setsockopt. On other Unixes and Linux, SO_REUSEADDR is good
enough.
Ocaml 3.08 supports calling SO_REUSEADDR but not SO_REUSEPORT. I've manually
changed the code and added this option, and have verified that it works as
necessary. I'm requesting to add this option to the next release.
Thanks.
The text was updated successfully, but these errors were encountered: