Results 1 to 7 of 7

Thread: Single server checking multiple client simultaneously - How to?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Single server checking multiple client simultaneously - How to?

    You just call the get() method (or any other operation method) as often as you need to.

    Each call returns its own QNetworkReply and therefore has its own status.
    You can connect to each of those or to the QNetworkAccessManager's finished() signal (which will then have the finished reply object as its argument):

    The only limit I am aware of is connections per hostort pair, which I think is 6.

    Cheers,
    _

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

    canavaroski90 (10th February 2014)

Similar Threads

  1. Replies: 3
    Last Post: 11th December 2012, 20:48
  2. Replies: 1
    Last Post: 3rd January 2012, 21:15
  3. Painting in multiple QWidgets simultaneously
    By edepetete in forum Qt Programming
    Replies: 0
    Last Post: 17th October 2011, 17:21
  4. Replies: 7
    Last Post: 10th May 2010, 11:26
  5. tcp QT server - .Net c# client
    By soniaerm in forum Qt Programming
    Replies: 0
    Last Post: 21st April 2010, 22:15

Tags for this Thread

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
  •  
Qt is a trademark of The Qt Company.