Expand description
A unified stream type for both TCP and Unix domain sockets.
This module is to keep the API consistency across different platforms. On Windows, only TCP sockets are supported.
Structsยง
- Owned
Read Half - Owned read half of a
TcpStream, created byinto_split. - Owned
Write Half - Owned write half of a
TcpStream, created byinto_split. - UniListener
- A simple wrapper of
tokio::net::TcpListener. - UniSocket
- A simple wrapper of
tokio::net::TcpSocket. - UniStream
- A simple wrapper of
tokio::net::TcpStream.