9 releases

0.2.0-alpha.1 Aug 8, 2019
0.1.6 Feb 4, 2020
0.1.5 Aug 31, 2019
0.1.3 Nov 22, 2018
0.0.0 Feb 1, 2018

#7 in #recv

Download history 23526/week @ 2024-03-14 21946/week @ 2024-03-21 26119/week @ 2024-03-28 22119/week @ 2024-04-04 24848/week @ 2024-04-11 23255/week @ 2024-04-18 28823/week @ 2024-04-25 27171/week @ 2024-05-02 31286/week @ 2024-05-09 29244/week @ 2024-05-16 26689/week @ 2024-05-23 31376/week @ 2024-05-30 31639/week @ 2024-06-06 27153/week @ 2024-06-13 25200/week @ 2024-06-20 17251/week @ 2024-06-27

107,273 downloads per month
Used in 181 crates (8 directly)

MIT license

91KB
1.5K SLoC

tokio-udp

UDP bindings for tokio.

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 Recv, Send, RecvFrom and SendTo structs respectively.

Dependencies

~3.5MB
~57K SLoC