Review_for_Chapter_2,川大计网部分习题答案第二章

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

Chapter 2 Review Qeustions

R1,R3,R4,R5,R10,R11,R13,R15,R16,R20,

R21,R22,R27,R28

R1. List five nonproprietary Internet applications and the application-layer protocols that they use.

Answer:

The Web: HTTP; file transfer: FTP; remote login: Telnet; Network News: NNTP;

e-mail: SMTP.

R3. What is the difference between network architecture and application architecture?

Answer:

Network architecture refers to the organization of the communication process into layers (e.g., the five-layer Internet architecture). Application architecture, on the other hand, is designed by an application developer and dictates the broad structure of the application (e.g., client-server or P2P)

•R4

What information is used by a process running on one host to identify a process running on another host?

Answer:

The IP address of the destination host and the port number of the destination socket.

•R5

For a P2P file-sharing application, do you agree with the statement, “There is no notion of client and server sides of a communication session”? Why or why not?

Answer:

No. As stated in the text, all communication sessions have a client side and a server side. In a P2P file-sharing application, the peer that is receiving a file is typically the client and the peer that is sending the file is typically the server.

•R10

Recall that TCP can be enhanced with SSL to provide process-to-process security services, including encryption. Does SSL operate at the transport layer or the application layer? If the application developer wants TCP to be enhanced with SSL, what does the developer have to do ?

Answer:

SSL operates at the application layer. The SSL socket takes unencrypted data from the application layer, encrypts it and then passes it to the TCP socket. If the application developer wants TCP to be enhanced with SSL, she has to include the SSL code in the application.

•R11

What is meant by a handshaking protocol?

Answer:

A protocol uses handshaking if the two communicating entities first exchange control packets before sending data to each other. SMTP uses handshaking at the application layer whereas HTTP does not.

•R13

Telnet into a Web server and send a multiline request message. Include in the request message the If-modified-since: header line to force a response message with the 304 Not Modified status code.

Answer:

Issued the following command (in Windows command prompt) followed by the HTTP GET message to the “”web server:

> telnet 80

相关文档
最新文档