Flex AS3 DNS 查找

发布于 2024-07-30 12:52:21 字数 27 浏览 2 评论 0原文

可以使用 AS3 进行 DNS 查找吗?

Can a DNS lookup be made with AS3?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

挽梦忆笙歌 2024-08-06 12:52:22

我知道这是一个较旧的问题,可能为时已晚,如果可以的话,我会将其添加为评论...但如果它对某人有帮助,显然 AIR 中有某种实现:
http://help.adobe.com /en_US/FlashPlatform/reference/actionscript/3/flash/net/dns/DNSResolver.html

这可能有助于 bucabay 编写他们的自定义一个...但这不是原始问题的完整答案,因为它是在 Flash 播放器中不可用,仅在 AIR 中可用,但从技术上讲它仍然是 AS3。

I know this is kind of an older question and it may be too late, and if I could I'd add this as a comment... but in case it helps someone, there is apparently an implementation of some sort in AIR:
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/dns/DNSResolver.html

This may help bucabay in writing their custom one... but it is not a full answer to the original question since it is not available in the flash player, just AIR- but it is still technically AS3.

霞映澄塘 2024-08-06 12:52:22

不直接 - 您将必须调用服务器端脚本(php/jsp/asp/cgi/...)来为您进行查找并返回数据,并且很可能该脚本将必须执行命令行调用。

Not directly - you will have to call a serverside script (php/jsp/asp/cgi/...) that does the lookup for you and returns the data, and most probably that script will have to do a command line call.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文