Describe the process of an HTTP exchange over a pair of sockets.

What will be an ideal response?


An HTTP exchange takes place over a pair of sockets. A socket is an abstract concept that represents a port at one end of a connection. For HTTP, sockets routinely are associated with port 80 on the client and server. Port 80 is open whenever you access the Web. Like any open port, it is a potential security weakness that a hacker could exploit.

In an HTTP exchange, your browser opens a socket on your PC, connects to a similar open socket at the Web server, and issues a command, such as send me an HTML document. The server receives the command, executes it, and sends a response back through the socket. The sockets are then closed until the browser is ready to issue another command. The Web page you see in your browser might consist of many text and graphic elements, each requiring a separate transfer. These are the files that build up in your browser cache.

Each HTTP exchange transmits one element of a Web page. When the sockets are closed, the server essentially forgets your previous requests. A cookie is a mechanism that helps a Web server remember your activities at the site. Cookies provide information about the pages that you've visited and items that you've loaded into your shopping cart.

Computer Science & Information Technology

You might also like to view...

The fork system call

A. creates a new, empty process B. makes a copy of a process

Computer Science & Information Technology

In which language is Linux written? What does the language have to do with the success of Linux?

What will be an ideal response?

Computer Science & Information Technology

Different types of hardware can be secured in different ways, but one of the most important ways is to ____.

A. never update once you have a good configuration defined B. buy products from the same brand C. only use on network administrator D. choose good passwords that you then guard closely

Computer Science & Information Technology

The Pareto chart, sometimes called a scatter diagram, is a problem solving tool.?

Answer the following statement true (T) or false (F)

Computer Science & Information Technology