dndx-forked-unix-udp-sock

Crates.iodndx-forked-unix-udp-sock
lib.rsdndx-forked-unix-udp-sock
version0.6.1
sourcesrc
created_at2023-03-21 15:43:00.151076
updated_at2023-03-21 15:43:00.151076
descriptionasync & sync UDP sockets supporting sendmsg/recvmsg and src IP manipulation
homepage
repositoryhttps://github.com/leshow/unix-udp-sock
max_upload_size
id816285
size60,358
Datong Sun (dndx)

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