HW2 Solutions - Prof Athina Markopoulou Spring 2015 Intro to Computer Networks EECS148\/CompSci132 Homework 2 Solution Topics Application Layer Socket

HW2 Solutions - Prof Athina Markopoulou Spring 2015 Intro...

This preview shows page 1 - 4 out of 9 pages.

Prof. Athina Markopoulou Intro to Computer Networks Spring 2015 EECS148/CompSci132 Homework 2 Solution Topics: Application Layer, Socket Programming. (Posted on April 2015) 1. (40 Points) Multi-Threaded Web Server (Assignment 1, Ch. 2) Sample solution code to the basic part of the assignment (only) can be found here: 2. (20+5 Points) Wireshark Lab:HTTP Figure 1: Example GET
Image of page 1
Figure 2: Example Response1-Is your browser running HTTP version 1.0 or 1.1? What version of HTTP is theserver running?Answer: Both are running HTTP 1.1 2.What languages (if any) does your browser indicate that it can accept to theserver? Answer: Accept-Language: en-us, en 3.What is the IP address of your computer?Of the gaia.cs.umass.edu server? 4.What is the status code returned from the server to your browser? 5.When was the HTML file that you are retrieving last modified at the server? 6. How many bytes of content are being returned to your browser? Answer: Content- 7. By inspecting the raw data in the packet content window, do you see any headerswithin the data that are not displayed in the packet-listing window? If so, name one.
Image of page 2
16. How many HTTP GET request messages were sent by your browser? To whichInternet addresses were these GET requests sent?
Image of page 3
Image of page 4

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture