tokio-rs / tokio-uring

An io_uring backed runtime for Rust
MIT License
1.11k stars 117 forks source link

Support _msg syscalls #261

Closed Icelk closed 1 year ago

Icelk commented 1 year ago

One can't add headers (shortened to hdr) when sending or receiving packets. This prevents QUIC implementations from using this library, as those require header control.

Would it be possible to give the user functions which take headers (e.g. this opcode)?

quinn-rs/quinn#1452 seems to be blocked on this.

FrankReh commented 1 year ago

Can you use Udpsocket::recvmsg? It's been in master since late Feb. So would have to pull from git.

Icelk commented 1 year ago

Right, didn't see that. Thanks!

I noticed you only provide sendmsg_zc. Is there a reason you don't support sendmsg without zero copying?

FrankReh commented 1 year ago

Just no-one has gotten to it. PRs are welcome.

Icelk commented 1 year ago

Just no-one has gotten to it. PRs are welcome.

263

:)