Open
Description
Seeing https://github.com/Azure/mio-uds-windows .. Is there any reason why UDS are not implemented in the standard library for Windows?
Metadata
Metadata
Assignees
Labels
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
retep998 commentedon Dec 5, 2018
Because they were implemented in a rather recent version of Windows 10.
haraldh commentedon Dec 10, 2018
meanwhile I created a crate for it https://crates.io/crates/uds_windows
steffengy commentedon Jul 4, 2019
Is the argument here
"only a recent version of win10 supports it, so it doesn't belong in STD"
or
"only a recent version of windows 10 supports it, so nobody has added support yet?"
retep998 commentedon Jul 5, 2019
Definitely the former because
std
supports Windows 7 as a tier 1 platform. Considering you can use a third party crate for unix domain sockets on windows as is, there is very little reason to put them instd
.yoshuawuyts commentedon Sep 2, 2020
I'd love to see this feature make it's way eventually. Cross-linking a conversation on internals for discoverability.
rylev commentedon Nov 24, 2020
As an FYI: I am working on a pre-RFC for
min_target_api_version
which allows for conditional compilation based on the minimum support API version for the target platform. This could address the issue that this would not be supported on older versions of Windows. With this mechanism, Unix sockets would only be available when compiling for amin_target_api_version
that supports Unix sockets. Though this would likely only benefit those who build their own version of the standard library.20 remaining items