Expand description
Unix Stream implementation with better address semantics for servers.
This module provides a UnixStream type that wraps tokio::net::UnixStream with
better address semantics for servers. When a server accepts a connection, it
returns the associated SocketAddr along side the stream. On some platforms,
this information is not available after the connection is established via
UnixStream::peer_addr. This module provides a way to retain this information
for the lifetime of the stream.
Structsยง
- Unix
Addr - Connection address for a unix domain socket.
- Unix
Listener server - A Unix socket which can accept connections from other Unix sockets.
- Unix
Stream - A Unix Stream, wrapping
tokio::net::UnixStreamwith better address semantics for servers.