Hi Guys,

Is there any API call or callback procedure by which i could detect whether my network is up or down. I am not talking about Internet connection. My network Connection. Like in win 2000 if you remove your network cable from your network card, it immediately tells you "Network Cable Unplugged" and when you reconnect it, it says network connected or token ring connected.

Same way i want to detect if my network is available or not.

Help would be appreciated.