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

outdated

A Flutter plugin for network service discovery and registration (aka NSD / DNS-SD / Bonjour / mDNS).

nsd #

Flutter CI

A Flutter plugin for network service discovery and registration (aka NSD / DNS-SD / Bonjour / mDNS).

Service Discovery #

import 'package:nsd/nsd.dart';

final discovery = await startDiscovery('_http._tcp');
discovery.addListener(() {
  // discovery.services contains discovered services
});

// ...

await stopDiscovery(discovery);

Service Registration #

import 'package:nsd/nsd.dart';

final registration = await register(
  const Service(name: 'Foo', type: '_http._tcp', port: 56000));

// ...

await unregister(registration);
44
likes
0
pub points
91%
popularity

Publisher

verified publisherhaberey.com

A Flutter plugin for network service discovery and registration (aka NSD / DNS-SD / Bonjour / mDNS).

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, nsd_android, nsd_ios, nsd_macos, nsd_platform_interface

More

Packages that depend on nsd