unix-udp-sock

Crates.iounix-udp-sock
lib.rsunix-udp-sock
version0.8.0
sourcesrc
created_at2022-07-15 21:06:19.225531
updated_at2024-10-30 02:28:02.353781
descriptionasync & sync UDP sockets supporting sendmsg/recvmsg and src IP manipulation
homepage
repositoryhttps://github.com/leshow/unix-udp-sock
max_upload_size
id626388
size79,385
Evan Cameron (leshow)

documentation

README

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.

Commit count: 42

cargo fmt