120 likes | 198 Views
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
E N D
Hw2hint 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 • 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
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”
P.05 • A.See the first line of the message • B.See “last:modified” • C.See “Content Length” • D.See the 8thline,and “Connection”
P.07&P.08 • Refer to course slide
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
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.
P.18 • A.Google it • B to E : do as question • F.consider internet security
P.22 • Consider:Dcs= max {NF/us, F/dmin} • And:
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)
p.24 • Similar to p.23 by letting u = u1+u2+u3+…+un
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.