[−][src]Module tokio::net
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
TcpListenerandTcpStreamprovide functionality for communication over TCPUdpSocketandUdpFramedprovide functionality for communication over UDPUnixListenerandUnixStreamprovide functionality for communication over a Unix Domain Stream Socket (available on Unix only)UnixDatagramandUnixDatagramFramedprovide functionality for communication over Unix Domain Datagram Socket (available on Unix only)
Modules
| tcp | TCP bindings for |
| udp | UDP bindings for |
| unix | Unix domain socket bindings for |
Structs
| TcpListener | An I/O object representing a TCP socket listening for incoming connections. |
| TcpStream | An I/O object representing a TCP stream connected to a remote endpoint. |
| UdpFramed | A unified |
| UdpSocket | An I/O object representing a UDP socket. |
| UnixDatagram | An I/O object representing a Unix datagram socket. |
| UnixDatagramFramed | A unified |
| UnixListener | A Unix socket which can accept connections from other Unix sockets. |
| UnixStream | A structure representing a connected Unix socket. |