3 ms·
I did an echo server with multi-shot here (using the io_uring rust bindings) https://github.com/thinkharderdev/io-uring/blob/ring-mapped-buffers/examples/tcp_ec
by thinkharderdev 3y ago
I did an echo server with multi-shot here (using the io_uring rust bindings) https://github.com/thinkharderdev/io-uring/blob/ring-mapped-buffers/examples/tcp_echo_buf_ring.rs https://github.com/thinkharderdev/io-uring/blob/ring-mapped-.... My biggest issue with io_uring is figuring out what is available in which kernel version :)
- martinjacobd 3y agoI meant recv_multishot not multishot_accept. The one I linked does use multishot_accept. Just a think-o. Looks like your version uses both though, so that's cool.
- wazzaps 3y agothis might help: https://sourcedigger.io https://sourcedigger.io
- thinkharderdev 3y agoOh that's awesome! Thanks!