digitalmars.D - Socket missing option: SO_REUSEPORT
- Benjiro (3/13) Dec 21 2016 I don't think this needs weeks of discussion ;)
- Madaz Hill (3/4) Dec 21 2016 No discussion needed at all. You could simply file an issue here:
- Damian (2/15) Dec 21 2016 SO_REUSEPORT is not supported on Windows.
- Kevin Brogan (5/6) May 21 2017 Is is supported on linux. On Windows the behavior of SO_REUSEPORT
Just check the socket code and there is a small feature missing:enum SocketOption: int { DEBUG = SO_DEBUG, /// Record debugging information BROADCAST = SO_BROADCAST, /// Allow transmission of broadcast messages REUSEADDR = SO_REUSEADDR, /// Allow local reuse of addressThere needs to be added:REUSEPORT = SO_REUSEPORT, /// Allow local reuse of the portI don't think this needs weeks of discussion ;)
Dec 21 2016
On Wednesday, 21 December 2016 at 13:01:53 UTC, Benjiro wrote:I don't think this needs weeks of discussion ;)No discussion needed at all. You could simply file an issue here: https://issues.dlang.org/, or submit a PR.
Dec 21 2016
On Wednesday, 21 December 2016 at 13:01:53 UTC, Benjiro wrote:Just check the socket code and there is a small feature missing:SO_REUSEPORT is not supported on Windows.enum SocketOption: int { DEBUG = SO_DEBUG, /// Record debugging information BROADCAST = SO_BROADCAST, /// Allow transmission of broadcast messages REUSEADDR = SO_REUSEADDR, /// Allow local reuse of addressThere needs to be added:REUSEPORT = SO_REUSEPORT, /// Allow local reuse of the portI don't think this needs weeks of discussion ;)
Dec 21 2016
On Wednesday, 21 December 2016 at 16:49:53 UTC, Damian wrote:SO_REUSEPORT is not supported on Windows.Is is supported on linux. On Windows the behavior of SO_REUSEPORT is included in SO_REUSEADDR. I submitted an issue to get this fixed for Linux. https://issues.dlang.org/show_bug.cgi?id=17416
May 21 2017