bindRemote static method

Future<Proxy> bindRemote({
  1. required String host,
  2. required int port,
})

Implementation

static Future<Proxy> bindRemote(
    {required String host, required int port}) async {
  return Proxy(await UDP.bind(Endpoint.any(port: Port(19132))),
      await Utils.hostLookup(host, port));
}