Connecting to a unix socket
mdevils opened this issue · 3 comments
mdevils commented
Could you please advice me, how do I connect to a unix socket by file path using tungstenite
library?
agalakhov commented
Just connect to the socket first using the standard library. Then pass already connected socket to tungstenite
. That's how it works.
daniel-abramov commented
Just a short elaboration: once you connect to the UNIX socket through regular means, you can pass the resulted stream to client()
or other similar functions.
mdevils commented
@agalakhov, @daniel-abramov, thank you for your help guys, I've solved it using socket2
crate.