avahi 0.0.0-dev.2
avahi: ^0.0.0-dev.2 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();
}