DevRev interview question

How does a server communicate with a client, with details.