Hello,
Your client should send a command of the form: “CMD_short:i”, where i=0,1 . The server replies with n messages: “this is PMU data i”, i=0,…,n-1 . Then, when your client receives these messages from the server, the client should print them one message per line.
You have a problem in your code, because the server doe not send any message like the one you are printing “This is computer data”. This message is apparently hard-coded in your client.
You might be communicating properly with the server but printing a hard-coded message…
To check the communication with the server, make Wireshark your best friend.
Good luck,
Alaeddine