Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. In QTcpServer to do multithreading
Qt 6.11 is out! See what's new in the release blog

In QTcpServer to do multithreading

Scheduled Pinned Locked Moved Solved General and Desktop
4 Posts 3 Posters 477 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Mikeeeeee
    wrote on last edited by
    #1

    HI!
    I have a QTcpServer and it works fine with one client. How to make QTcpServer worked fine with many customers?
    Probably need to create objects of class server?

    1 Reply Last reply
    0
    • A Offline
      A Offline
      anil_arise
      wrote on last edited by
      #2

      example , this is good example to learn Qtcpserver for multiple client.

      1 Reply Last reply
      1
      • M Offline
        M Offline
        Mikeeeeee
        wrote on last edited by
        #3

        I do not understand where this example is multithreading, please explain. My server accepts many packages and combines them into one. I need to combine several packages in parallel.

        1 Reply Last reply
        0
        • M Offline
          M Offline
          MrShawn
          wrote on last edited by
          #4

          @Mikeeeeee

          Check out Voidrealm's videos on Youtube. Might be dated a bit at this point but I can confirm his code works 5.13 with minimal changes if any.

          https://www.youtube.com/watch?v=zMgbVN3uQ-E

          1 Reply Last reply
          1

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved