multicast_dns
0.3.3+1, released 5 months ago by flutter.dev
Dart package for performing mDNS queries, Bonjour, and Avahi service discovery.
What it does
Performs service discovery over multicast DNS (mDNS) utilizing the MDnsClient class. It allows querying for services like Bonjour and Avahi on the local network.
AI-written summary of version 0.3.3+1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to discover local network services using mDNS or Bonjour.
- You are building a Dart or Flutter application that communicates with local network devices.
Skip it when
- You are communicating with remote REST or GraphQL backends.
- You do not require local network service discovery.
Strengths
- Supports multiple platforms including Android, iOS, Windows, macOS, and Linux.
- Based on RFC 6762 Multicast DNS.
Weaknesses
- Not documented beyond basic usage and README overview.
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
not documented
import 'package:multicast_dns/multicast_dns.dart';
void main() async {
final MDnsClient client = MDnsClient();
await client.start();
// ... perform queries ...
client.stop();
}Alternatives
Packages that do the same job and could replace multicast_dns.
Works with
Packages commonly used together with multicast_dns: ones it builds on, ones built on it, and its own family.
- network_toolsBuilt on multicast_dnsDiscover open ports, devices on a subnet, and perform network scanning.
- better_native_video_playerBuilt on multicast_dnsNative AVPlayer and ExoPlayer video player for iOS and Android with custom Flutter overlays.
- network_tools_flutterBuilt on multicast_dnsExtended network tools and scanning features for Flutter supporting iOS and Android.
- flutter_hueBuilt on multicast_dnsIntegrate Philips Hue smart devices and bridges into Flutter applications.
- flutter_adbBuilt on multicast_dnsPure Dart client for network ADB communication, including wireless pairing and shell access