Closed eskimor closed 2 years ago
This is meant as a first step into implementing #1 . A very first iteration of an AvahiPoll
working together with async code can be found here. This is all still in development and very likely to change a lot and probably not even working. Especially multithreading might be hairy.
Closing as draft PR appears to be inactive
This allows for replacing it with one that works well with async frameworks in Rust.
TODO:
TMdnsService::register
and replace it withTMdnsService::register_with_poll
, this would allow for getting rid of the new genericPoll
type parameter and instead using a modifiedAvahiEventLoop
directly, which wraps a plainAvahiPoll
instead of anAvahiSimplePoll
.Also this is still completely untested - I have a zeroconf-async repo which is also finished code wise, but is also not yet tested at all. Just saying, in case someone is interested before I get to it ;-)