I have doubt on TCP/Ip multi client with single server
-
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.
-
Closed as duplicate. Continuation is here: https://forum.qt.io/topic/93944/i-have-doubt-on-tcp-server-when-multiple-client-with-single-server-is-conected-without-multithreading-code/2