3 unstable releases

0.1.1 Aug 7, 2018
0.1.0 Mar 23, 2018
0.0.0 Feb 1, 2018

#3 in Asynchronous

Download history 16968/week @ 2018-09-10 22186/week @ 2018-09-17 22144/week @ 2018-09-24 25373/week @ 2018-10-01 27123/week @ 2018-10-08 26956/week @ 2018-10-15 25531/week @ 2018-10-22 30208/week @ 2018-10-29 30667/week @ 2018-11-05 28170/week @ 2018-11-12 29970/week @ 2018-11-19 24589/week @ 2018-11-26 26336/week @ 2018-12-03

69,121 downloads per month
Used in 1,509 crates (33 directly)

MIT license



TCP bindings for tokio.



This project is licensed under the MIT license.


Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Tokio by you, shall be licensed as MIT, without any additional terms or conditions.


TCP bindings for tokio.

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

Connecting to an address, via TCP, can be done using TcpStream's connect method, which returns ConnectFuture. ConnectFuture implements a future which returns a TcpStream.

To listen on an address TcpListener can be used. TcpListener's incoming method can be used to accept new connections. It return the Incoming struct, which implements a stream which returns TcpStreams.


~48K SLoC