Assignment 2_computer networks

Anonymous

Question Description

Assignment 2

Assignment Information

Name HW#2

Due Date Sunday, October 13, 2019 11:59:00 PM EST

Total points: 20

Due: 10/13

Part-1: Solve the following Problems end of Chapter 2 pp. 171-180

P6, P8, P18, P19, P26.

Part-2: Solve the following Questions/Problems end of Chapter 3 pp. 285-301

R14, R15, P3, P22, P40.

Submission: Put all your answers to part-1 and part-2 questions together in a doc / pdf file, upload the file to your blackboard account:

Text book:- Computer Networking : A Top-Down Approach, Seventh Edition, Kurose and Ross, Pearson Publishing

Tutor Answer

Teacher_Brian_m
School: University of Virginia

Hello, sorry for delays, I am working on final touches. I am uploading the rest in a fewThanks in advance

Question one

Obtain the HTTP/1.1 specification (RFC 2616). Answer the following questions:

a. Explain the mechanism used for signaling between the client and server to indicate that a
persistent connection is being closed. Can the client, the server, or both signal the close of a
connection?

Answer

For HTTP 1.1 persistent connections represent the default setting behavior for any HTTP
connection. Therefore, a client always makes the assumption that the server always makes
persistent connection even if there are erroneous responses from the server. Closing a connection
is initiated by either the server or the client by using the header field which in turn has to include
connection on token, close in the prompt request. In case the server wishes to close the connection
the same close token must be included. the connection token “close” allows the client and server
to close a connection.

b. What encryption services are provided by HTTP?

Answer

HTTP does not provide encryption services.

c. Can a client open three or more simultaneous connections with a given server?

Answer

Yes, though the number of persistent connections that are recommended to concurrently execute
are two.

d. Either a server or a client may close a transport connection between them if either one detects
the connection has been idle for some time. Is it possible that one side starts closing a connection
while the other side is transmitting data via this connection? Explain

answer
HTTP is a stateless protocol and therefore neither the client nor server is aware of the other parties’
state making it possible for one party to start closing a connection while the other starts
transmission.

Question two

Referri...

flag Report DMCA
Review

Anonymous
awesome work thanks

Brown University





1271 Tutors

California Institute of Technology




2131 Tutors

Carnegie Mellon University




982 Tutors

Columbia University





1256 Tutors

Dartmouth University





2113 Tutors

Emory University





2279 Tutors

Harvard University





599 Tutors

Massachusetts Institute of Technology



2319 Tutors

New York University





1645 Tutors

Notre Dam University





1911 Tutors

Oklahoma University





2122 Tutors

Pennsylvania State University





932 Tutors

Princeton University





1211 Tutors

Stanford University





983 Tutors

University of California





1282 Tutors

Oxford University





123 Tutors

Yale University





2325 Tutors