scanPortsForSingleDevice abstract method
Scans port from startPort
to endPort
of target
. Progress can be
retrieved by progressCallback
Tries connecting ports before until timeout
reached.
Implementation
Stream<ActiveHost> scanPortsForSingleDevice(
String target, {
int startPort = defaultStartPort,
int endPort = defaultEndPort,
ProgressCallback? progressCallback,
Duration timeout = const Duration(milliseconds: 2000),
bool resultsInAddressAscendingOrder = true,
bool async = false,
});