3 unstable releases

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

#2 in Asynchronous

Download history 12965/week @ 2018-05-16 15743/week @ 2018-05-23 15084/week @ 2018-05-30 16897/week @ 2018-06-06 15418/week @ 2018-06-13 16985/week @ 2018-06-20 15883/week @ 2018-06-27 14237/week @ 2018-07-04 16984/week @ 2018-07-11 16844/week @ 2018-07-18 15936/week @ 2018-07-25 15528/week @ 2018-08-01 18860/week @ 2018-08-08

69,121 downloads per month

tokio-tcp

TCP bindings for tokio.

Documentation

License

This project is licensed under the MIT license.

Contribution

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.


lib.rs:

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.

MIT license

Dependencies

Reverse deps