The client/server model consists of two entities, one of which acts as a server, and which responds to requests and the other of which is a client, which makes the request.
The client/server model operates according to a specific protocol which must be implemented at either end of the connection.
This protocol is described in the following paragraphs.
NOTE: If you are developing your own client/server application, you are responsible for testing and managing the connections.
The model works in the following way:
-
The server application listens.
-
A client application requests services from the server application.
-
The server application accepts the request.
-
Exchanges are made between the two entities.
Illustration of how the client/server model works