Homework 2


Answer the following questions about Kurose and Ross, Chapter 2. You only need to turn in those that have a point count assigned.

  1. What do the terms client and server mean in the context of a peer-to-peer protocol? That is, when is a peer called a client and when is a peer called a server?
  2. (1 point) When you click on the “Submit” button in a web form, either a GET request or a POST request can be sent to the web server. How do the two request types differ with regard to transmitting the form data?
  3. What are three HTTP commands? How do they differ?
  4. (1 point) What is the first line in a GET HTTP request for the following web page?
    www.d.umn.edu/index.html
  5. (1 point) List the components of an HTTP server's response.
  6. What network layer provides sockets? What network layer uses sockets?
  7. (1 point) A web server uses two kinds of sockets. What does each type do?
  8. What is meant by the phrase root DNS server? What is meant by the phrase local DNS server? What is meant by the phrase authoritative DNS server?
  9. What is an iterative DNS query? What is a recursive DNS query?
  10. (1 point) Using DNS could lead to considerable traffic involved in determining IP addresses. How is this traffic reduced?
  11. In electronic mail, what protocols are used for the following?
    1. Between the sender's user agent and the sender's server.
    2. Between the sender's server and the receiver's server.
    3. Between the receiver's server and the receiver's user agent.
  12. Give an example of each of the following types of protocols.
    1. a push protocol
    2. a protocol that uses out-of-band control.
    3. a protocol that governs a distributed database.
  13. For each of the following applications name an appropriate application level protocol. An acronym is sufficient.
    1. sending mail
    2. receiving mail
    3. transferring web pages
    4. file transfer
    5. hostname to IP address translation
  14. What is the difference between stateless and stateful protocols? Give an example of each.
  15. How do protocols that use out-of-band control differ from those that use in-band control? Give an example of each.
  16. How do push protocols differ from pull protocols? Give an example of each.