TcpScanner constructor
TcpScanner({
- required IpAddressRange hostRange,
- required Set<
int> ports, - Duration timeout = const Duration(seconds: 1),
- bool debug = false,
Implementation
TcpScanner({required this.hostRange, required this.ports, this.timeout = const Duration(seconds: 1), this.debug = false}) {
if (ports.isEmpty) {
throw ArgumentError('Ports list cannot be empty');
}
}