What is a client and a server?




 Client:-

A client is a machine or software application that sends requests and consumes services provided by the server.

Server:-

 A server is a powerful computer or software that provides services, and data to clients.

In simple words a server is a machine or a software application that waits for incoming requests, and a client is a machine or software application sending requests to a server in order to take action.

For Example: 

When you visit a website using a web browser from your device( the browser act as the client).

 And it sends a request to the server (where the website is hosted, and it acts as a server) asking for webpage content. The server processes the request and sends back the webpage data to the client browser for display.






Comments

Popular posts from this blog

What is compatibility tests and how are they performed?

How to create a GitHub repository?