getAllByName()的Java代码 [英] java code for getAllByName()
本文介绍了getAllByName()的Java代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想获取网络中连接的所有系统的所有IP地址.
I want to get all IP addresses of all systems connected in network.
推荐答案
首先, ^ ]不起作用你在问什么它返回由提供的参数标识的系统的适用IP地址.阅读javaDoc应该会对您有所帮助.
其次,所有已连接设备的列表将很大.一旦您超越了本地网络,那里就会有一个更大的网络,称为Internet,它连接了许多设备...
Firstly,InetAddress[] getAllByName(java.lang.String)
[^] does not do what you are asking. It returns the applicable IP addresses for the system identified by the supplied parameter; reading the javaDoc should help you.
Secondly, the list of all connected devices will be pretty large. Once you go beyond the local network, there''s a larger one out there called the Internet and it has a lot of devices attached...
这篇关于getAllByName()的Java代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文