Expand description
mDNS service registration and discovery for MoosicBox servers.
This crate provides functionality for:
- Registering
MoosicBoxservers on the local network via mDNS - Discovering
MoosicBoxservers on the local network (withscannerfeature)
§Features
scanner- Enables mDNS service discovery for findingMoosicBoxserverssimulator- Provides a simulated mDNS daemon for testing purposes
§Examples
Registering a MoosicBox server:
switchy_mdns::register_service("my-server", "192.168.1.100", 8080).await?;Modules§
- service
- mDNS service registration and daemon management. mDNS service registration and daemon management.
Enums§
- Register
Service Error - Errors that can occur when registering an mDNS service.
Constants§
- SERVICE_
TYPE - The mDNS service type for
MoosicBoxservers.
Functions§
- register_
service - Registers an mDNS service on the local network.