The Client-Server Model of the World Wide Web

When you're running a browser with an Internet connection and you enter a URL into the destination text box, you're really not visiting anything. The URL is a request to the Web directory computers for the location of a file. If that location has a valid address, the computer containing the file is contacted with a request for a file. That file is then sent over the Internet to your machine, where it's displayed. In this model, your machine is acting as the client and the computer that sends the file is the server.

Note

When two computers are communicating, the one that requests information is known as the client, and the one that accepts the request and returns the information is known as the

Get Sams Teach Yourself XML in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.