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. Collecting the data from multiple servers in fortune client server program
QtWS25 Last Chance

Collecting the data from multiple servers in fortune client server program

Scheduled Pinned Locked Moved General and Desktop
5 Posts 2 Posters 1.9k Views
  • 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.
  • P Offline
    P Offline
    preeth
    wrote on last edited by
    #1

    hello everyone,
    I am using qt fortune client server program
    I have a doubt,Is it possible to take data from multiple server at a time at the client end.If possible please explain with the code snippet,
    Thanks a lot

    1 Reply Last reply
    0
    • P Offline
      P Offline
      preeth
      wrote on last edited by
      #2

      I mean whether the client is able to listen multiple servers

      1 Reply Last reply
      0
      • Q Offline
        Q Offline
        qxoz
        wrote on last edited by
        #3

        For understanding your goals, can you explain what are you trying to do?

        1 Reply Last reply
        0
        • P Offline
          P Offline
          preeth
          wrote on last edited by
          #4

          Its like in hotel the client system will be ordering the menu and at the client end and at server end chef can view the order. i have chosen tcpsosket and tcpservers to transfer the data and at the server side storing the order in the sqlite databse. i want to ask how to connect multiple clients, how to make sever keep listening all the clients. and the message should appear automatically on the server side screen as soon client order.(i mean i don't want to keep any buttons) please help, sorry for my english :)

          1 Reply Last reply
          0
          • Q Offline
            Q Offline
            qxoz
            wrote on last edited by
            #5

            look at "threadedfortuneserver":http://qt-project.org/doc/qt-4.8/network-threadedfortuneserver.html
            also i'd recommend you tutorials from Bryan:
            from "C++ Qt 65 - QTcpSocket basics":http://voidrealms.com/viewtutorial.aspx?id=44 to "C++ Qt 70 Advanced Asynchronous QTcpServer with QThreadPool":http://voidrealms.com/viewtutorial.aspx?id=39

            1 Reply Last reply
            0

            • Login

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