Crates.io | unix-udp-sock |
lib.rs | unix-udp-sock |
version | 0.8.0 |
source | src |
created_at | 2022-07-15 21:06:19.225531 |
updated_at | 2024-10-30 02:28:02.353781 |
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 | 626388 |
size | 79,385 |
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.