www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 23289] New: winsock2.d is missing some definitions

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

          Issue ID: 23289
           Summary: winsock2.d is missing some definitions
           Product: D
           Version: D2
          Hardware: All
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: P1
         Component: druntime
          Assignee: nobody puremagic.com
          Reporter: andrej.mitrovich gmail.com

Compare:

https://github.com/dlang/dmd/blob/fa4ce7b89a7911f1097d32fab691ff8dfef40588/druntime/src/core/sys/windows/winsock2.d

with:

https://github.com/buggins/dwindow/blob/fbdaa1aef6a94471afd403ec8cfe4a4626cebeae/3rdparty/win32/winsock2.d

In particular constants like `FD_CONNECT` are missing in the druntime bindings.

--
Aug 09 2022