Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Collecting the data from multiple servers in fortune client server program

    General and Desktop
    2
    5
    1674
    Loading More Posts
    • 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
      preeth last edited by

      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 Reply Quote 0
      • P
        preeth last edited by

        I mean whether the client is able to listen multiple servers

        1 Reply Last reply Reply Quote 0
        • Q
          qxoz last edited by

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

          1 Reply Last reply Reply Quote 0
          • P
            preeth last edited by

            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 Reply Quote 0
            • Q
              qxoz last edited by

              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 Reply Quote 0
              • First post
                Last post