Capturing network status change event
问题 I am trying to get events when the internet connection is reestablished after it is lost. It is for a data transfer software that I am developing. If I lose the network during data transfer, I would like to be notified when it is back and continue the transfer automatically. I can of course create a separate thread and check the network once in a while with a timer, but maybe there is a better option out there. I am developing for windows mainly, in C++ (not .net). I can also use wxwidgets (I