mdns_dart 1.0.2
mdns_dart: ^1.0.2 copied to clipboard
A comprehensive mDNS (Multicast DNS) service discovery library for Dart, ported from HashiCorp Go implementation.
example/example.md
Examples #
A few usage examples for mdns_dart
:
Discover HTTP Services #
See client.dart
:
Discovers all HTTP services (_http._tcp
) on the local network and prints their details.
Discover Services on Docker/Bridge Networks #
See client_docker0.dart
:
Discovers services using the docker0
interface, useful for Docker or bridge network scenarios.
Advertise a Custom Service #
See server.dart
:
Advertises a custom mDNS service and demonstrates how to discover it on the same network interface.
For more details, refer to the code in each example file.