Flex AS3 DNS 查找
可以使用 AS3 进行 DNS 查找吗?
Can a DNS lookup be made with AS3?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
可以使用 AS3 进行 DNS 查找吗?
Can a DNS lookup be made with AS3?
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(2)
我知道这是一个较旧的问题,可能为时已晚,如果可以的话,我会将其添加为评论...但如果它对某人有帮助,显然 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.
不直接 - 您将必须调用服务器端脚本(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.