Deprecated std.c.*.socket and missing replacement
Jonathan M Davis via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Tue Jun 27 04:16:17 PDT 2017
On Tuesday, June 27, 2017 10:48:12 Sebastiaan Koppe via Digitalmars-d-learn
wrote:
> I am building a multicast application, and I am using the
> std.c.*.socket modules to provide the definition of the
> IP_ADD_MEMBERSHIP constant.
>
> These modules are marked as deprecated telling me to look in
> core.sys.posix.* instead.
>
> I grepped the complete sourcetree, but nowhere is the
> IP_ADD_MEMBERSHIP constant defined other than in the deprecated
> modules.
>
> What to do?
Create a PR to add it to druntime and/or define it in your own code.
- Jonathan M Davis
More information about the Digitalmars-d-learn
mailing list