[][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

Modules

signal

Asynchronous signal handling for tokio. ctrl-C notifications are supported on both unix and windows systems. For finer grained signal handling support on unix systems, see tokio_net::signal::unix::Signal.

tcp

TCP bindings for tokio.

udp

UDP bindings for tokio.

unix

Unix domain socket bindings for tokio (only available on unix systems).

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 Stream and Sink interface to an underlying UdpSocket, using the Encoder and Decoder traits to encode and decode frames.

UdpSocket

An I/O object representing a UDP socket.

UnixDatagram

An I/O object representing a Unix datagram socket.

UnixListener

A Unix socket which can accept connections from other Unix sockets.

UnixStream

A structure representing a connected Unix socket.