http://d.puremagic.com/issues/show_bug.cgi?id=2507
Summary: No support for Posix on Windows Product: D Version: 2.020 Platform: PC OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: bugzi...@digitalmars.com ReportedBy: 2kor...@gmail.com This is not a Phobos but a druntime issue, but it doesn't present in a list. The following line fails to compile on Windows: import stdc.posix.arpa.inet; src\druntime\import\stdc\posix\arpa\inet.d(13): import socklen_t not found src\druntime\import\stdc\posix\arpa\inet.d(13): alias stdc.posix.arpa.inet.socklen_t recursive alias declaration Many declorations any not present in version(Windows). There should be either a static assert(false, "Not supported on Windows"); or it should just work. In need this module to use bsd sockets and helper functions (htonl, ntohl etc) --