According to this blog, AF_UNIX comes to Windows 10: https://blogs.msdn.microsoft.com/commandline/2017/12/19/af_unix-comes-to-windows/
This feature has no connection to the "Windows Subsystem for Linux (WSL)". (WSL already has AF_UNIX support). I see the libcurl code has most of it's test for Unix-domain sockets inside a '#ifdef USE_UNIX_SOCKETS', so 'AF_UNIX' won't be possible now for 'USE_WINSOCK' code w/o a major rewrite. No mention of <sys/un.h> in the blog, but a new <afunix.h> should do the same. I'll download the new "Win-10 17069-SDK" and check. -- --gv ------------------------------------------------------------------- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.html