I try to receive events when the Internet connection is restored after it is lost. This is the data transfer software that I am developing. If I lose the network during data transfer, I would like to receive a notification when it returns and continue the transfer automatically.
I can, of course, create a separate thread and check the network once in a while using a timer, but maybe there is a better option.
I develop for Windows mainly in C ++ (not .net).
I can also use wxwidgets (I use it for the GUI), but I doubt that it offers any related features.
source
share