Expand description
TCP/UDP/Unix bindings for tokio
.
This module contains the TCP/UDP/Unix networking types, similar to the standard library, which can be used to implement networking protocols.
Organization
TcpListener
andTcpStream
provide functionality for communication over TCPUdpSocket
andUdpFramed
provide functionality for communication over UDPUnixListener
andUnixStream
provide functionality for communication over a Unix Domain Stream Socket (available on Unix only)UnixDatagram
andUnixDatagramFramed
provide functionality for communication over Unix Domain Datagram Socket (available on Unix only)
Modules
Structs
An I/O object representing a TCP socket listening for incoming connections.
An I/O object representing a TCP stream connected to a remote endpoint.
A unified
Stream
and Sink
interface to an underlying UdpSocket
, using
the Encoder
and Decoder
traits to encode and decode frames.An I/O object representing a UDP socket.