Here is the scenario :

Client Side : pack and send message to server using TCP/IP
Receive the response message from server
unpack the Response message
...