unix-udp-sock

Crates.iounix-udp-sock
lib.rsunix-udp-sock
version0.7.1
sourcesrc
created_at2022-07-15 21:06:19.225531
updated_at2024-07-15 01:59:08.241241
descriptionasync & sync UDP sockets supporting sendmsg/recvmsg and src IP manipulation
homepage
repositoryhttps://github.com/leshow/unix-udp-sock
max_upload_size
id626388
size72,154
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: 29

cargo fmt