DCCP support for mio in Rust

91 Views Asked by At

I am doing a distributed system project about DCCP protocol. So the aim is for each node to be able to communicate with all other nodes through DCCP protocol. I know I can use a data structure to maintain all sockets that are established. But I want a more asynchronous solution so that only one thread is needed to handle all message events from all sockets. It seems that tokio and mio crate only implement asynchronous TCP and UDP datatypes. I wonder if there is a way to make it work for DCCP as well. Thanks in advance!

0

There are 0 best solutions below