keepsimple1 / mdns-sd

Rust library for mDNS based Service Discovery
Apache License 2.0
96 stars 37 forks source link

support interface selection #137

Closed keepsimple1 closed 11 months ago

keepsimple1 commented 11 months ago

This diff tries to provide a common solution for two things:

  1. The existing PR #119 .
  2. Disable IPv6 if desired: issue #138

The solution is to support a set of new methods of the daemon: enable_interface and disable_interface. By default, all available interface (except loopbacks) are enabled. The user can call the new methods to select interfaces.