Minimal bi-directional socket example in Rust + Ruby Run the following: cargo run ruby client.rb Sources used to figure this all out: https://users.rust-lang.org/t/multi-threading-tcp-writing-reading-on-tcpstream/10558/18 tokio-rs/tokio-uds#9 https://blog.honeybadger.io/how-unicorn-talks-to-nginx-an-introduction-to-unix-sockets-in-ruby/