Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想以有效的方式获取本地网络中的所有活动 IP。我试图 ping 255 广播地址。但有些操作系统如 Windows 和 Android 不响应广播数据包。从 1 到 255 ping 每个 IP 需要几分钟。它太慢了。请给一些建议。
我使用多线程从 1 ping 到 255,它节省了很多时间。