ping_discover_network 0.0.2 ping_discover_network: ^0.0.2 copied to clipboard
The library allows to ping IP subnet and therefore discover network devices. Could be used to find printers (for example, on port 9100) and other services in local network.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add ping_discover_network
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
ping_discover_network: ^0.0.2
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:ping_discover_network/ping_discover_network.dart';