1 / 12

Hw2 hint

Hw2 hint. ComputerNetwork 教授 : 張宏慶 助教 : 黃麒瑋. P.01. A.to communicate two host must connect them then can transmit data B.recall contents of lab1 C.socket is :http:// zh.wikipedia.org/wiki/ Socket_A

Télécharger la présentation

Hw2 hint

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Hw2hint ComputerNetwork 教授:張宏慶 助教:黃麒瑋

  2. P.01 • A.to communicate two host must connect them then can transmit data • B.recall contents of lab1 • C.socket is :http://zh.wikipedia.org/wiki/Socket_A • D.any communication must meet data loss problem sometimes,then cultivate parity bit technique • E.while deciding which type of packet to send for an application , there are two mainly packet type:TCP & UDP

  3. P.04 • A.See “Host:”&”GET” • B.See “HTTP” • C.See “Connetction:” • D.See if there any information in this message • E.See “User-Agent”

  4. P.05 • A.See the first line of the message • B.See “last:modified” • C.See “Content Length” • D.See the 8thline,and “Connection”

  5. P.07&P.08 • Refer to course slide

  6. P.09 • A.Theaverage time is the average size of the object divided by transmission rate. • B.to sum up hit time and miss time

  7. P.10 • Note that each downloaded object can be completely put into one data packet. • First consider parallel downloads via non-persistent connections. • Then consider persistent HTTP connection.

  8. P.18 • A.Google it • B to E : do as question • F.consider internet security

  9. P.22 • Consider:Dcs= max {NF/us, F/dmin} • And:

  10. P.23 • A.Refer to section2.6 and prove it • B. Refer to section2.6 and prove it • C.Refer to section2.6 and prove it(consider using suppose skill)

  11. p.24 • Similar to p.23 by letting u = u1+u2+u3+…+un

  12. p.32 • In original , there is not specify a special port in the program • ,but there is still a port for it to run,ant after adding this line , the port will be changed. • The original port is 80 port.

More Related