4 releases

0.1.2 Aug 24, 2018
0.1.1 Jun 13, 2018
0.1.0 Mar 23, 2018
0.0.0 Feb 1, 2018

#2 in Asynchronous

Download history 13760/week @ 2018-07-09 18493/week @ 2018-07-16 17543/week @ 2018-07-23 15949/week @ 2018-07-30 18158/week @ 2018-08-06 17785/week @ 2018-08-13 15836/week @ 2018-08-20 20050/week @ 2018-08-27 23758/week @ 2018-09-03 21934/week @ 2018-09-10 23258/week @ 2018-09-17 22765/week @ 2018-09-24 19262/week @ 2018-10-01

74,117 downloads per month
Used in 1,321 crates (6 directly)

MIT license

244KB
4K SLoC

tokio-udp

UDP 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:

UDP bindings for tokio.

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

The main struct for UDP is the UdpSocket, which represents a UDP socket. Reading and writing to it can be done using futures, which return the RecvDgram and SendDgram structs respectively.

For convenience it's also possible to convert raw datagrams into higher-level frames.

Dependencies

~3MB
~47K SLoC