TCPScanner constructor

TCPScanner(
  1. String host,
  2. List<int> ports,
  3. {int timeout = 100,
  4. bool shuffle = false,
  5. int isolates = 1,
  6. Duration updateInterval = const Duration(seconds: 1)}
)

Prepares scanner to scan specified host and specified ports

Implementation

TCPScanner(String host, List<int> ports,
    {int timeout = 100, bool shuffle = false, int isolates = 1, Duration updateInterval = const Duration(seconds: 1)})
    : this.build(host, ports, timeout, shuffle, isolates, updateInterval);