这是计算机网络原理系列答案第二章,是我个人总结的 有问题欢迎指出
ReviewQuestion:
R.1. What is the difference between network architecture and application architecture?
Answer:
网络体系结构是指将通信过程组织为多层(例如,五层互联网体系结构)。 另一方面,应用程序架构是由应用程序开发人员设计的,并规定了应用程序的广泛结构(例如,客户端-服务器或P2P)
R2 List five nonproprietary Internet applications and the application-layer protocols that they use.
答:
applications protocols
e-mail SMTP
WEB HTTP
streaming multimedia HTTP ,RTP
file transfer FTP
remote terminal access Telnet
R3 What information is used by a process running on one host to identify a process running on another host?
目标主机的IP地址和目标进程中的套接字端口号。
R5 For a communication session between a pair of processes, which process is the client and which is the server?
答:发起通信的过程是客户端;等待联系的进程是服务器。
R6 Suppose you wanted to do za transaction from a remote client to a server as fast as possible. Would you use UDPor TCP? Why?
您将使用UDP。使用UDP,事务可以在一个往返时间(RTT)内完成—客户端将事务请求发送到UDP套接字,服务器将应答发送回客户端UDP套接字。使用TCP时,至少需要两个RTTs—一个用于建立TCP连接,另一个用于客户机发送请求,服务器发回应答.