Setting up a socket-based client-server system, the server executes commands according to the client's request.