checkIsPortUsing static method

Future<bool> checkIsPortUsing(
  1. String host,
  2. int port
)

检查端口是否使用

Implementation

static Future<bool> checkIsPortUsing(String host, int port) async =>
    await _channel.invokeMethod("checkIsPortUsing", <String, dynamic>{"host": host, "port": port});