upnp_client 0.0.5 upnp_client: ^0.0.5 copied to clipboard
Universal Plug and Play (UPnP) Client Implementation. Supports IGD control as well as DLNA
example/upnp_client_example.dart
import 'dart:io';
import 'package:upnp_client/upnp_client.dart';
Future<void> main() async {
var deviceDiscover = DeviceDiscoverer();
await deviceDiscover.start(addressType: InternetAddressType.IPv4);
var devices = await deviceDiscover.getDevices();
devices.forEach(print);
}