unix-socket
unix-socket copied to clipboard
Unix socket support for Rust
plus minor refactoring to consolidate into Inner. This addresses issue https://github.com/rust-lang-nursery/unix-socket/issues/23 This would be much nicer with generic impl specialization :) UnixStreamListener and UnixSeqpacketListener are 99% alike. In fact, in...
This is to track implementation status on Windows. This will become feasible. https://blogs.msdn.microsoft.com/commandline/2017/12/19/af_unix-comes-to-windows/
When compiling my project for android x86_64, cargo complained when compiling unix-socket 0.5.0 with the following error: ``` error[E0308]: mismatched types --> /home/weisgerber/.cargo/registry/src/github.com-1ecc6299db9ec823/unix_socket-0.5.0/src/lib.rs:569:73 | 569 | try!(cvt(libc::bind(inner.0, &addr as *const...
"the trait `std::fmt::Display` is not implemented for `unix_socket::SocketAddr`" [Built-in unix SocketAddr](https://doc.rust-lang.org/std/os/unix/net/struct.SocketAddr.html) also seems to lack Display.
Now that this landed on _stable_ ([std::os::unix::net](https://doc.rust-lang.org/std/os/unix/net/index.html))... Are you moving the crate to @rust-lang-deprecated ? Are there any features on this crate that didn't land on 1.10-stable?
Obviously, sequential packet sockets should support #4 and #5. They also have listener/connection, unlike datagram sockets.
Supports SCM_CREDENTIALS and SCM_RIGHTS control messages Resolves #4 and resolves #5