native_mdns_scanner 1.0.2 copy "native_mdns_scanner: ^1.0.2" to clipboard
native_mdns_scanner: ^1.0.2 copied to clipboard

Dart FFI bindings for macOS mDNS/Bonjour services. Provides native access to multicast DNS functionality on macOS.

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

1.0.2 - 2025-05-23 #

Fixed #

  • Fixed example file name to native_mdns_scanner_example.dart

1.0.1 - 2025-05-23 #

Fixed #

  • Fixed example file name to *_example.dart

1.0.0 - 2025-05-23 #

Added #

  • Initial release of native_mdns_scanner for macOS
  • Native mDNS/Bonjour service discovery using macOS system APIs via FFI
  • Simultaneous multi-service scanning - scan multiple service types at once
  • Periodic scanning support with configurable query intervals and duration
  • Rich device information including IP, port, service type, TXT records, and discovery metadata
  • Timing analysis tools for analyzing discovery patterns and performance
  • Command-line interface (mdns_cli) for testing and debugging
  • Comprehensive API with the following classes:
    • MdnsFfi - Main scanning functionality
    • DeviceInfo - Device/service information model
    • TimingAnalyzer - Discovery timing analysis utilities
  • Multiple scanning modes:
    • Simple single-service scanning
    • Multi-service simultaneous scanning
    • Periodic scanning with custom intervals
  • Flexible library loading with automatic path detection
  • Full test coverage with unit and integration tests
  • Example applications demonstrating various use cases

Features #

  • πŸ” High-performance native implementation using Objective-C and macOS Bonjour APIs
  • 🎯 Simultaneous scanning - unlike sequential-only libraries
  • ⏱️ Smart timing analysis to verify simultaneous discovery
  • πŸ–₯️ CLI tool with multiple commands and options
  • πŸ“Š Detailed discovery metrics and statistics
  • 🧹 Proper resource management with automatic cleanup

Platform Support #

  • βœ… macOS (arm64 + x86_64 universal binary)
  • ❌ iOS (not supported in this release)
  • ❌ Windows/Linux (not supported)

Dependencies #

  • Dart SDK: >=3.0.0 <4.0.0
  • ffi: ^2.1.4

Documentation #

  • Complete README with usage examples
  • API documentation for all public classes
  • CLI usage guide with examples
  • Build instructions for the native library
0
likes
0
points
42
downloads

Publisher

verified publisherchangyy.app

Weekly Downloads

Dart FFI bindings for macOS mDNS/Bonjour services. Provides native access to multicast DNS functionality on macOS.

Repository (GitHub)
View/report issues

Topics

#ffi #mdns #bonjour #native #networking

License

unknown (license)

Dependencies

ffi

More

Packages that depend on native_mdns_scanner