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
2) on but the network cable is unplugged or the network card is disabled
3) "off" (that is powered off) but plugged to the lan (so i can wake it up with wol magic packet)
4) off and not plugged
i ve already accomplished question #1 doing a ping command. is there a smarter way?
but the other points are all equals for my device s point of view: i can t communicate with target pc but i want to know why!
i believe that it s pretty much like logmein does. infact, it knows the power status of my pcs... but how?!
i looked for acpi status but, really, how can it be used programmatically and remotely?! hmm, seems it s not the way.
maybe there are some "magic packet" (like wol) to detect these status remotely?
could you to point me to the right way?
thanks