How Scan devices in a LAN network
iOS 扫描局域网内的所有IP地址
客户端通过向局域网广播udp广播,并监听udp端口,通过返回的数据来扫描局域网的ip地址。
示例文章和代码如下:
How Scan devices in a LAN network
http://blog.csdn.net/johns_xiao/article/details/36477249
https://github.com/mongizaidi/LAN-Scan
https://stackoverflow.com/questions/17953119/how-scan-devices-in-a-lan-network