Understanding Client and Server Communications
Network communication plays a vital role in facilitating the exchange of data and resources between devices. But who are we communicating with? Communication is supposed to be between two people, so who’s on the other side? When we fire up a browser or connect to a website, we establish a connection with a server, which is hosted somewhere and allows us to communicate with it. The server then sends data to the incoming receivers, illustrating the fundamental workings of a web server. This is known as the Client-Server architecture. Here a Client initiates a connection which the server then responds to . Note: A server can never initiate a connection. It ONLY listens. But communication on the internet can’t happen without some predefined rules. One of the protocols that define how data is supposed to transfer between clients and servers is called the TCP (Transmission Control Protocol). TCP ensures reliable, ordered, and error-checked delivery of data between applications runni...