avahi 0.1.0 avahi: ^0.1.0 copied to clipboard
Provides a client to connect to Avahi - the service that implements mDNS/DNS-SD on Linux.
import 'package:avahi/avahi.dart';
void main() async {
var client = AvahiClient();
await client.connect();
print('Server version: ${await client.getVersionString()}');
print('Hostname: ${await client.getHostName()}');
await client.close();
}