get IP addresses of computer available on a network? -java

后端 未结 7 2204
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-12 02:36

I am making a file sharing application which would look for computers which are running the application on the same network. So I would like my application to discover compu

相关标签:
7条回答
  • 2020-12-12 03:40

    I found this utility class part of Apache commons JCS (a caching library) particularly helpful, just copied it to my project since I didn't want/need to include the whole JCS library and the code is not available elsewhere separately (e.g. in apache commons-net would be nice):

    • HostNameUtil Javadocs
    • HostNameUtil.java source
    0 讨论(0)
提交回复
热议问题