www.digitalmars.com         C & C++   DMDScript  

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


          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

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 2017