Results 1 to 9 of 9

Thread: Check network connection

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Apr 2009
    Location
    China
    Posts
    127
    Thanks
    30
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Question Check network connection

    Hello:
    I want to write a application that can record the time my computer's network connection is activited (i.e, I can surf the Internet with it) and the time it becomes disconnected.

    I use the QNetworkAccessManager::get(QNetworkRequest&) to test the network connection. But the question is, I am thinking that it is not the best way or right way to test network connection using that method.

    Can you give me some advice?
    Thanks a lot!

  2. The following user says thank you to sophister for this useful post:

    bunjee (22nd November 2009)

Similar Threads

  1. Replies: 12
    Last Post: 22nd March 2009, 11:22
  2. QFtp with no network connection
    By josepvr in forum Qt Programming
    Replies: 0
    Last Post: 19th November 2008, 15:03
  3. SQL connection closure problem.
    By cbarmpar in forum Qt Programming
    Replies: 1
    Last Post: 8th September 2008, 08:42
  4. Checking network availability
    By fullmetalcoder in forum Qt Programming
    Replies: 2
    Last Post: 10th March 2008, 19:23
  5. Client/Server Error: BadIDChoice
    By 3nc31 in forum Qt Programming
    Replies: 5
    Last Post: 27th November 2007, 10:22

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.