| Crates.io | dndx-forked-unix-udp-sock |
| lib.rs | dndx-forked-unix-udp-sock |
| version | 0.6.1 |
| created_at | 2023-03-21 15:43:00.151076+00 |
| updated_at | 2023-03-21 15:43:00.151076+00 |
| description | async & sync UDP sockets supporting sendmsg/recvmsg and src IP manipulation |
| homepage | |
| repository | https://github.com/leshow/unix-udp-sock |
| max_upload_size | |
| id | 816285 |
| size | 60,358 |
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.