www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 17416] New: SocketOption.REUSEPORT not available on linux

https://issues.dlang.org/show_bug.cgi?id=17416

          Issue ID: 17416
           Summary: SocketOption.REUSEPORT not available on linux
           Product: D
           Version: D2
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P1
         Component: druntime
          Assignee: nobody puremagic.com
          Reporter: kevin brogan.ca

core.sys.posix.sys.socket is missing the SO_REUSEPORT option for linux.

# uname -r
2.6.32-43-pve

From my linux system headers:
/usr/include/asm-generic/socket.h:#define SO_REUSEPORT 15 as well, the SocketOption.REUSEPORT enumeration does not exist in std.socket --
May 21