Introduction
A Server waits for messages requesting something for a Client, and when one is received, it attempts to interpret and act upon the message, and send back an appropriate response to the Client. A Client is a computer program that can communicate with other Clients and/or Servers. Clients send Requests, and receive Responses.
It us useful to keep these concepts of Client/Server/Request/Response in mind when thinking about and working with Client-Server achitectures.
The Big Picture
The world is networked, which involves many different Clients communicating with other Clients, and also with Servers.
Each of the Unity deployment platforms illustrates an example of a Client:
- WebGL (running in a web browser)
- Windows and Mac applications
- Nintendo Switch
- Microsoft Xbox
- Sony Playstation
The Servers that these games can communicate with include dedicated multiplayer Game Servers, regular webservers, and online database servers. Multiplayer game development is the topic for a whole book of its...