开发者

Get website's IP address using Flex 4 AIR app?

开发者 https://www.devze.com 2023-02-04 06:49 出处:网络
How do I get the IP address of a certain website using Flex 4 via an AIR applicatio开发者_运维问答n? I know that this is do-able using ping website.com but how can I replicate the same only this time,

How do I get the IP address of a certain website using Flex 4 via an AIR applicatio开发者_运维问答n? 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.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消