Add Unix socket support on Windows
AF_UNIX are available in Windows 10 since Build 17063. The have a number of limitations compared to other POSIX/BSD socket implementations (in particular, no SCM_RIGHTS, and very limited credential passing). However, they are quite attractive as an alternative to opening a local TCP port for local socket communications (and DBus), as they should be more secure and not directly reachable from a web browser! Looking up peer process id is also simpler and a bit safer than with TCP sockets.
There are also interesting use cases, since they can communicate with WSL2 systems.
Fwiw, both glib/gio and zbus already support unix socket for DBus on Windows now.
Not yet done, at least:
- [?] make it the default for autolaunch etc (see !327)
-
adjust documentation -
profit