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 12735/week @ 2018-07-01 14856/week @ 2018-07-08 17472/week @ 2018-07-15 16840/week @ 2018-07-22 14974/week @ 2018-07-29 17053/week @ 2018-08-05 21269/week @ 2018-08-12 17999/week @ 2018-08-19 18893/week @ 2018-08-26 22443/week @ 2018-09-02 19866/week @ 2018-09-09 21607/week @ 2018-09-16 22288/week @ 2018-09-23

69,121 downloads per month
Used in 1,331 crates (29 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.


~47K SLoC