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

后端 未结 7 2230
佛祖请我去吃肉
佛祖请我去吃肉 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:29

    Either use multicast DNS (I do not know how you can use it on Java/Windows).

    Or use IP broadcast (with UDP).

提交回复
热议问题