How to use Java to detect LAN cable unplug?
Posted on 2009-03-31
Is there any ways in which I can use Java to detect the event whereby user unplug the LAN cable so that I can do something like turning my icon to another one so as to show it is offline.
I got a way in which a timer where by i check my ipaddress to local host, but it is quite a expensive way to perform checks in a infinite timer to check every 10 mins.
Appreciate if someone has an answer to it