Open canfeit opened 6 years ago
Or,can you provide a fallback solution on Windows?:pensive:
Thanks for the feedback. I’ll investigate alternatives.
named-pipe is usually an alternative, and parity uses it.
I haven’t found a complete implementation of names pipes that works with tokio.
@nathansobo could this work? https://github.com/alexcrichton/tokio-named-pipes. It is the base crate for what @quininer linked.
What is the current status of Xray on Windows?
We're not really production ready on any platform. Windows is especially lacking right now due to no workarounds for domain sockets as stated above.
The Microsoft Azure team seems to be maintaining a more up-to-date version of tokio-named-pipes here: https://github.com/Azure/iotedge/tree/master/edgelet/tokio-named-pipe
https://github.com/atom/xray/blob/0035c7fed82fbdb001a5cb3cd1a0a60617cad266/xray_server/src/main.rs#L22
https://github.com/atom/xray/blob/0035c7fed82fbdb001a5cb3cd1a0a60617cad266/xray_cli/src/main.rs#L12