[Qt-interest] Check network connection using QT classes.
Tolik Piskov
tolik.piskov at gmail.com
Thu Dec 3 14:20:42 CET 2009
2009/11/27 Markus Goetz <Markus.Goetz at nokia.com>
> 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?
>
Sorry, I wasn't attentive. My program was crashing, not qt.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091203/0c7574e8/attachment.html
More information about the Qt-interest-old
mailing list