on a device (iphone, mac, pc, etc.) i want to know if a pc (on the same lan and running windows) is 1) \"on\" (meaning powered on) and lan-connected with my device
This question already has answers here: How to check internet access on Android? InetAddress never 开发者_开发知识库times out