Module tokio_core::net [] [src]

TCP/UDP bindings for tokio-core

This module contains the TCP/UDP networking types, similar to the standard library, which can be used to implement networking protocols.

Structs

Incoming

Stream returned by the TcpListener::incoming function representing the stream of sockets received from a listener.

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.

TcpStreamNew

Future returned by TcpStream::connect which will resolve to a TcpStream when the stream is connected.

UdpSocket

An I/O object representing a UDP socket.