leshow / unix-udp-sock

Async Unix UDP sockets with more syscalls supported (sendmsg/sendmmsg/recvmsg/recvmmsg/..)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Async Unix UDP sockets with more syscalls supported (sendmsg/sendmmsg/recvmsg/recvmmsg/..)


Languages

Language:Rust 100.0%