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

#40 in #udp-socket

Download history 17619/week @ 2023-11-20 17328/week @ 2023-11-27 18895/week @ 2023-12-04 19226/week @ 2023-12-11 15661/week @ 2023-12-18 10619/week @ 2023-12-25 13726/week @ 2024-01-01 19781/week @ 2024-01-08 17603/week @ 2024-01-15 17203/week @ 2024-01-22 18827/week @ 2024-01-29 19423/week @ 2024-02-05 19022/week @ 2024-02-12 22998/week @ 2024-02-19 22242/week @ 2024-02-26 21965/week @ 2024-03-04

87,535 downloads per month
Used in 182 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