Re: AF_UNIX comes to Windows

2018-01-20 Thread Daniel Stenberg

On Thu, 18 Jan 2018, Gisle Vanem via curl-library wrote:

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.


Really? To me it looks like we mostly need to define USE_UNIX_SOCKETS if 
AF_UNIX works, and then maybe adjust the includes needed.


--

 / daniel.haxx.se
---
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html

AF_UNIX comes to Windows

2018-01-17 Thread Gisle Vanem via curl-library

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  in the blog, but a new  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