1 unstable release
| 0.6.1 | Mar 21, 2023 |
|---|
#36 in #udp-socket
61KB
1K
SLoC
unix-udp-sock
Largely based on quinn-udp, this adds async & sync support for additional syscalls:
UDP socket send:
UDP socket recv:
In addition, Transmits has been altered to support Vec<u8>/[u8]/Bytes/BytesMut.
We can also select which interface to use with src_ip: Some(Source::Interface(idx)). You must know the index of the interface to use this.
lib.rs:
Uniform interface to send/recv UDP packets with ECN information.
Dependencies
~3–11MB
~106K SLoC