使用 Flex 4 AIR 应用程序获取网站的 IP 地址?
如何通过 AIR 应用程序使用 Flex 4 获取某个网站的 IP 地址?我知道使用 ping website.com 可以做到这一点,但是我如何才能仅在这一次使用 Flex 4 中的 AS3 并作为 AIR 应用程序来复制相同的内容。
How do I get the IP address of a certain website using Flex 4 via an AIR application? I know that this is do-able using ping website.com but how can I replicate the same only this time, using AS3 in Flex 4 and as an AIR application.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用
DNSResolver
类来查找域名的 IP 地址。该链接指向 ActionScript 文档,其中包含您可以使用的示例。You can use the
DNSResolver
class to look up IP addresses of a domain name. The link is to ActionScript documentation that has an example you can use.