[Issue 17666] std.c.linux.socket has no replacement

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Aug 31 03:18:51 PDT 2017


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

--- Comment #8 from Sebastiaan Koppe <mail at skoppe.eu> ---
Finally had some time to take a look. Pretty awesome. Thanks.

But why in core.sys.linux.netinet.in_ is some stuff behind static
if(__USE_MISC)? As far as I can tell that conditional evaluates to false, and
there is a structure in there - ip_mreq - that I need.

Also, the static if(__USE_MISC) at
https://github.com/dlang/druntime/blob/master/src/core/sys/linux/netinet/in_.d#L168
is already inside a static if (__USE_MISC) conditional block.

--


More information about the Digitalmars-d-bugs mailing list