Application Layer
1. Principles of Network Applications
1.1 Network Application Architectures
两种结构:客户服务器结构和P2P结构(还有综合两种的结构)
1.2 Processes Communicating
进程间通讯,socket的概念(连接的管道);端口号的概念
1.3 Application-Layer Protocols
(略)
1.4 What Services Does an Application Need?
数据传输可靠性、带宽、延迟,不同的应用对三个特性的要求不一样
1.5 Services Provided by the Internet Transport Protocols
TCP服务:面向连接的;UDP服务:无连接的
1.6 Network Applications Covered in This Book
(略)
2. The Web and HTTP
2.1 Overview of HTTP
HTTP是无状态的协议(stateless protocol)
2.2 Nonpersistent and Persistent Connections
非持久的连接:建立TCP连接,客户发送请求,服务器响应,发送HTML文件并撤销连接;持久的连接:服务器回复后不撤销连接
2.3 HTTP Message Format
request message 和 response message
2.4 User-Server Interaction: Cookies
由于HTTP无状态记录引入
2.5 HTTP Content
(略)
2.6 Web Caching
(proxy server)机制,用途(解决bottleneck)
2.7 The Conditional GET
(略)
3. File Transfer: FTP
两个连接:控制连接(21)、数据连接(20),保留状态
3.1 FTP Commands and Replies
(略)
4. Electronic Mail in the Internet
4.1 SMTP
TCP连接,端口25
4.2 Comparison with HTTP
a. pull protocol(HTTP) vs push protocol(SMTP) b.编码格式 c.附件
4.3 Mail Message Formats and MIME
图片附件引入(没太仔细看)
4.4 Mail Access Protocols
收信:POP3(非常简单)、IMAP(功能多)、HTTP
5. DNS—The Internet’s Directory Service
主机名、IP地址
5.1 Services Provided by DNS
DNS提供的服务
5.2 Overview of How DNS Works
DNS结构(分布式,有层次的数据库);三级:Root, TLD, Authoritative;运行机制(递归);DNS缓存
5.3 DNS Records and Messages
DNS消息格式
6. P2P File Sharing
三种:Centralized Directory (Napster), Query Flooding (Gnetella), Exploiting Heterogeneity (KaZaA)
7. Socket Programming with TCP
8. Socket Programming with UDP
9. Building a Simple Web Server
用Java来编还是很简单的
总结:应用层虽然没讲但还是比较简单的,因为顶层能经常用到所以比较熟悉。
(下面该传输层了~)
1 comment:
Hello, can I buy your book?
Post a Comment