net: Support AF_UNIX on Windows10 or later. #26072
This will be long-term issue. Windows 10 supports AF_UNIX. This may be provided by third parties, but I believe that we should support AF_UNIX in standard libary. This will be useful to communicate external process via socket file on Windows.
This is small example that I could build and worked on Windows. https://gist.github.com/mattn/6b6bd66ff15e95ab0b241a578023e1ed
The text was updated successfully, but these errors were encountered:
CL 125456 added the implementation of AF_UNIX to the syscall package. Add the same implementation to golang.org/x/sys/windows as well. This works only on Windows 10. https://blogs.msdn.microsoft.com/commandline/2017/12/19/af_unix-comes-to-windows/ Updates golang/go#26072 Change-Id: Ibd4a17342ed4f9f4f2b16b82c7b02834e681b7b4 Reviewed-on: https://go-review.googlesource.com/132555 Run-TryBot: Tobias Klauser <email@example.com> TryBot-Result: Gobot Gobot <firstname.lastname@example.org> Reviewed-by: Yasuhiro MATSUMOTO <email@example.com> Reviewed-by: Alex Brainman <firstname.lastname@example.org>