interprocess icon indicating copy to clipboard operation
interprocess copied to clipboard

Use Unix sockets on Windows if available

Open ncihnegn opened this issue 2 years ago • 4 comments

AF_UNIX has been available on Windows since 2017 (https://devblogs.microsoft.com/commandline/af_unix-comes-to-windows/).

Can we use Unix sockets instead of named pipes on Windows?

ncihnegn avatar Nov 11 '23 23:11 ncihnegn

The Rust standard library seems to also be looking at supporting AF_UNIX , is that correct?

https://github.com/rust-lang/rust/issues/56533

stefnotch avatar Nov 19 '23 19:11 stefnotch

As Ud-sockets have been outsourced to the standard library, this is now blocked on upstream.

kotauskas avatar Apr 26 '24 18:04 kotauskas

Not sure what the timeline of that upstream implementation is like, but FYI there seems to be support via this crate.

LonerDan avatar Nov 07 '24 12:11 LonerDan

guys!! i create a pr to add win af unix to std. hope you test it! https://github.com/rust-lang/rust/pull/147335

kouhe3 avatar Oct 08 '25 04:10 kouhe3