How to know if my system is connected to internet, through a program?
How to know whenever my system connects to internet?
I suppose there should be a port which a program will continuously listen & so on... But I am new to networking & not really worked on it.
Example, just like in Windows, a program (tool) activates when ever we insert a LAN cable or switch on wireless & tries to find out networks. Something like that...
Thanks.
PS: Not sure if it belongs General Computing or here.