Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
I have doubt how to do echo from server when multiple clients connect for particular client reply?
bhargav last edited by
My code is working fine ,multi client with single server.
from client1 is sending "Test1" and server has to echo to that particular client "reply1".
from client2 is sending "Test2" and server has to echo to that particular client "reply2".
so ,here I am not getting the logic behind the server code how to get echo for particular client with reply1 ,reply2 ..........reply n.
In server code without multithreading i am using .
I have used QList for tcpsocket count and i am not getting how to give reply to particular client.
Please give suggestions to resolve this task.
isn't that the same question as https://forum.qt.io/topic/93942/i-have-doubt-on-tcp-ip-multi-client-with-single-server ?
please don't cross-post!