How should I use "AsyncFd" to implement "send_to" and "recv_from"? #3554
Answered
by
liangyongrui
liangyongrui
asked this question in
Q&A
-
As the title, I want to implement asynchronous read and write for raw socket. |
Beta Was this translation helpful? Give feedback.
Answered by
liangyongrui
Feb 26, 2021
Replies: 1 comment
-
I was careless and found that there is... https://docs.rs/tokio/1.2.0/tokio/io/unix/struct.AsyncFd.html#examples |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
liangyongrui
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I was careless and found that there is...
https://docs.rs/tokio/1.2.0/tokio/io/unix/struct.AsyncFd.html#examples