Important: Please read the Qt Code of Conduct -

Run a command in a tcpSocket and return servers answer

  • hi
    i have a tcp Server server and my clients connect to this server , when my clients send a command to my server , it need to check that command from another server and answer to that client ...
    i need this , when server read a command from client , send that to other server and wait for response , and then return that to client , but i dont know how i must keep client in a waiting loop until response is ready ? or i must get command and send back that when its ready ? or any better ways ?


Log in to reply