isOpen abstract method

Future<ActiveHost?> isOpen(
  1. String target,
  2. int port, {
  3. Duration timeout = const Duration(milliseconds: 2000),
})

Checks if the single port is open or not for the target.

Implementation

Future<ActiveHost?> isOpen(
  String target,
  int port, {
  Duration timeout = const Duration(milliseconds: 2000),
});