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

Fix 17416 - Add REUSEPORT to std.socket #8389

Closed
wants to merge 1 commit into from
Closed

Conversation

Geod24
Copy link
Member

@Geod24 Geod24 commented Feb 20, 2022

The issue also mentions the Druntime bindings, which have been added a few years ago,
however this was missing from std.socket. This implementation provides SO_REUSEPORT on
Windows as well, despite it being equivalent to SO_REUSEADDR, to simplify client code.

The issue also mentions the Druntime bindings, which have been added a few years ago,
however this was missing from std.socket. This implementation provides SO_REUSEPORT on
Windows as well, despite it being equivalent to SO_REUSEADDR, to simplify client code.
@dlang-bot
Copy link
Contributor

Thanks for your pull request, @Geod24!

Bugzilla references

Auto-close Bugzilla Severity Description
17416 enhancement SocketOption.REUSEPORT not available on linux

Testing this PR locally

If you don't have a local development environment setup, you can use Digger to test this PR:

dub run digger -- build "master + phobos#8389"

@CyberShadow
Copy link
Member

Thanks. What about the other POSIX OSes?

Would be nice to have a reference link for the Windows situation.

@CyberShadow
Copy link
Member

@Geod24 Tiny bump in case you missed the comment above.

@dkorpel
Copy link
Contributor

dkorpel commented Mar 31, 2022

@Geod24 Can you rebase and update the documentation comment?

@RazvanN7
Copy link
Collaborator

ping @Geod24

@LightBender LightBender added the Review:Salvage This PR needs work, but we want to keep it and it can be salvaged. label Oct 27, 2024
@0xEAB
Copy link
Contributor

0xEAB commented Nov 4, 2024

I’ve picked this one up and added a reference link; see #9082 for my adaption.

@0xEAB
Copy link
Contributor

0xEAB commented Nov 4, 2024

#9082 was merged. I think this one can get closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Review:Salvage This PR needs work, but we want to keep it and it can be salvaged. Severity:Enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants