Viewing version 0.3.3+1. Open the latest package page.

multicast_dns

0.3.3+1

Dart package for performing mDNS queries (e.g. Bonjour, Avahi).

Download archive

Readme

Multicast DNS package

Based on RFC 6762 Multicast DNS.

pub package

A Dart package to do service discovery over multicast DNS (mDNS), Bonjour, and Avahi.

Usage

The example demonstrates how to use the MDnsClient Dart class in your code.

Changelog

0.3.3+1

0.3.3

  • Adds an optional error callback for MDnsClient::start to prevent uncaught exceptions.

0.3.2+8

  • Fixes stack overflows ocurring during the parsing of domain names in MDNS messages.
  • Updates minimum supported SDK version to Flutter 3.22/Dart 3.4.

0.3.2+7

  • Optimized Socket Binding: Always bind to 0.0.0.0 for simplicity and efficiency.
  • Updates minimum supported SDK version to Flutter 3.16/Dart 3.2.

0.3.2+6

  • Improves links in README.md.

0.3.2+5

  • Updates PendingRequest to be a base class for Dart 3.0 compatibility.
  • Updates minimum supported SDK version to Flutter 3.10/Dart 3.0.

0.3.2+4

  • Adds pub topics to package metadata.
  • Updates minimum supported SDK version to Flutter 3.7/Dart 2.19.

0.3.2+3

  • Removes use of runtimeType.toString().
  • Updates minimum SDK version to Flutter 3.0.

0.3.2+2

  • Fixes lints warnings.

0.3.2+1

  • Migrates from ui.hash* to Object.hash*.

0.3.2

  • Updates package description.
  • Make [MDnsClient.start] idempotent.

0.3.1

  • Close IPv6 sockets on [MDnsClient.stop].

0.3.0+1

  • Removed redundant link in README.md file.

0.3.0

  • Migrate package to null safety.

0.2.2

  • Fixes parsing of TXT records. Continues parsing on non-utf8 strings.

0.2.1

  • Fixes the handling of packets containing non-utf8 strings.

0.2.0

  • Allow configuration of the port and address the mdns query is performed on.

0.1.1

  • Fixes flutter/issue/31854 where decodeMDnsResponse advanced to incorrect code points and ignored some records.

0.1.0

  • Initial Open Source release.
  • Migrates the dartino-sdk's mDNS client to Dart 2.0 and Flutter's analysis rules
  • Breaks from original Dartino code, as it does not use native libraries for macOS and overhauls the ResourceRecord class.

Installing

export PUB_HOSTED_URL=https://pub.mirror.p-hatan.ir
flutter pub add 'multicast_dns:0.3.3+1'
pubspec.yaml
name: multicast_dns
description: Dart package for performing mDNS queries (e.g. Bonjour, Avahi).
repository: https://github.com/flutter/core-packages/tree/main/packages/multicast_dns
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+multicast_dns%22
version: 0.3.3+1

environment:
  sdk: ^3.10.0

dependencies:
  meta: ^1.3.0

dev_dependencies:
  test: "^1.16.5"

topics:
  - bonjour
  - mdns
  - network

Version history

VersionPublishedArchiveSHA-256
0.1.0On demandDownload82933477…3f3e42
0.1.0+1On demandDownload599131e1…c50713
0.1.1On demandDownload8523f94f…6a8ebf
0.2.0On demandDownload7a5e4da2…d64592
0.2.1On demandDownload203932ba…79e60c
0.2.2On demandDownload02658215…b1859d
0.3.0On demandDownload3d46e7cc…ae4302
0.3.0+1On demandDownload8bdeeafe…e6b8a6
0.3.1On demandDownload2ed85caa…f2c959
0.3.2On demandDownload3f574260…4701cd
0.3.2+1On demandDownloade77b21b8…130bcf
0.3.2+2On demandDownload27960961…366c17
0.3.2+3On demandDownload80e54aba…786591
0.3.2+4On demandDownloadf4fd1c33…609379
0.3.2+5On demandDownload73fcb8e0…baefa8
0.3.2+6On demandDownload316cc47a…14e296
0.3.2+7On demandDownload982c4cc4…550b99
0.3.2+8On demandDownload0a568c84…fde813
0.3.3On demandDownloadde72ada5…b5b1eb
0.3.3+1Cached · Upstream SHA-256 matchedDownload134668a9…24987b

Dependencies

meta "^1.3.0"