[Qt-interest] Check network connection using QT classes.
Markus Goetz
Markus.Goetz at nokia.com
Fri Nov 27 15:15:25 CET 2009
ext Tolik Piskov wrote:
> Don't know if this is the mailing list I should send my question to,
> but anyways. What I'm trying to do is to check whether my machine has
> working internet connection. I tried to use QNetworkAccessManager to
> send GET request to some server and expect finished() signal if
> everything is ok. When I block my program with firewall -- everything
> is ok. But if I take network cable out -- my program crashes. I think
> it is due to bind to an nonexistent address.
>
> Maybe there's better ways to check network connection?
Can you send a backtrace of the crash?
Markus
More information about the Qt-interest-old
mailing list