WIP: Add unix socket support?#172
Conversation
| remote: Self { | ||
| stream | ||
| }, | ||
| // the unixstream uses SocketAddr from mio that can't be converted |
There was a problem hiding this comment.
Out of curiosity, what then identifies an unix socket?
There was a problem hiding this comment.
local_addr and peer_addr are currently a placeholder value, the unix sockets seem to have a totally different local and peer addr format.
|
Tested in release, websocket is only slow in debug for some reason, here is an output from the same computer for reference: |
|
Discovered implementation issue where messages sent after each other without a sleep are dropped. Edit: this is fine for the stream based protocol |
|
Due to unix datagram sockets not really having an IPv4 or IPv6 that fits in the SocketAddr struct, the implementation is partially broken for now. |
|
Hi @javaarchive, Mmmm... interesting the throughput issue. At such speeds could be noise in the runs. Is it always faster in |


Works on my machine borrowing most of the code from the tcp adapter. Has some implementation issues that I'll be putting as a list here: