www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 17666] New: std.c.linux.socket has no replacement

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

          Issue ID: 17666
           Summary: std.c.linux.socket has no replacement
           Product: D
           Version: D2
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: phobos
          Assignee: nobody puremagic.com
          Reporter: greensunny12 gmail.com

I was looking at the deprecation messages from Vibe.d - in particular this
file:

https://github.com/rejectedsoftware/vibe.d/blob/master/core/vibe/core/drivers/libevent2.d#L67

It depends on the definition of e.g. IP_ADD_MEMBERSHIP =  35, but this doesn't
seem to be part of the bindings at druntime. Was it simply forgotten to be
moved to druntime?
Or what's the story behind std.c.{linux,osx}.socket?

https://github.com/dlang/phobos/blob/master/std/c/linux/socket.d

--
Jul 19 2017