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
107,273 downloads per month
Used in 181 crates
(8 directly)
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