HarmonyOS是否有可以类似java.net.InetAddress.getByName的方法?

HarmonyOS是否有类似java.net.InetAddress.getByName的方法,可以根据url的host解析出来ip?

阅读 487