mdns_dart 2.0.1 copy "mdns_dart: ^2.0.1" to clipboard
mdns_dart: ^2.0.1 copied to clipboard

A comprehensive mDNS (Multicast DNS) service discovery and advertisement 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. Demonstrates the default socket configuration options that are optimized for mDNS discovery.

Discover Services on Docker/Bridge Networks #

See client_docker0.dart:

Discovers services using the docker0 interface, useful for Docker or bridge network scenarios.

See server.dart:

Advertises a custom mDNS service and demonstrates how to discover it on the same network interface. Shows the default server socket configuration for optimal mDNS operation.

For more details, refer to the code in each example file.

3
likes
160
points
495
downloads

Publisher

unverified uploader

Weekly Downloads

A comprehensive mDNS (Multicast DNS) service discovery and advertisement library for Dart, ported from HashiCorp Go implementation.

Repository (GitHub)
View/report issues

Topics

#mdns #dns #service-discovery #multicast #networking

Documentation

API reference

License

MIT (license)

More

Packages that depend on mdns_dart