Is there a Windows hook for when the internet is connected/disconnected?

Posted by Jonafla on Stack Overflow See other posts from Stack Overflow or by Jonafla
Published on 2009-10-21T05:51:40Z Indexed on 2010/03/20 20:01 UTC
Read the original article Hit count: 223

Filed under:
|

I could do an endless timer checking IsInetOffline(), but I would prefer a hook callback that tells me when I plug/unplug the ethernet network cable or connect to wireless internet. Is there such a thing in the Windows API?

© Stack Overflow or respective owner

Related posts about winapi

Related posts about internet-connection