-
Tokio does'nt provide loop {
udp_socket.readable().await.unwrap();
udp_recvmsg(udp_socket.as_raw_fd());
} I can't make it work because tokoi registration Is it possible to implement? Or use mio? |
Beta Was this translation helpful? Give feedback.
Answered by
FH0
Dec 5, 2020
Replies: 1 comment
-
https://docs.rs/tokio/0.3.5/tokio/io/unix/struct.AsyncFd.html |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
FH0
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://docs.rs/tokio/0.3.5/tokio/io/unix/struct.AsyncFd.html