Internet apps: application, transport protocols application underlying application layer protocol transport protocol e-mail SMTP [RFC 28211 TCP remote terminal access Telnet RFc 854 TCP Web Http Rfc 2616 TCP file transfer FTP[RFC 959 TCP streaming multimedia Http(e.g., yoUtube), tcp or Udp RTP IRFC 1889 Internet telephony SIP, RTP, proprietary (e.g., Skype) TCP or UDP Application Layer 2-17
Application Layer 2-17 Internet apps: application, transport protocols application e-mail remote terminal access Web file transfer streaming multimedia Internet telephony application layer protocol SMTP [RFC 2821] Telnet [RFC 854] HTTP [RFC 2616] FTP [RFC 959] HTTP (e.g., YouTube), RTP [RFC 1889] SIP, RTP, proprietary (e.g., Skype) underlying transport protocol TCP TCP TCP TCP TCP or UDP TCP or UDP
215应用层协议 应用层协议定义了: 公共领域协议: 口交换的报文类型, 口在RFC文档中定义 g request, response 口允许互操作 口报文语法 口eg,HTTP,SMTP 报文中的字段及其描述 口报文语义 专用协议: 各字段中信息的含义 口 e.g., Skype 进程何时及如何发送/ 响应报文的规则 2: Application Lo
2: Application Layer 18 2.1.5 应用层协议 应用层协议定义了: 交换的报文类型, ❖ e.g., request, response 报文语法: ❖ 报文中的字段及其描述 报文语义 ❖ 各字段中信息的含义 进程何时及如何发送/ 响应报文的规则 公共领域协议: 在RFC文档中定义 允许互操作 e.g., HTTP, SMTP 专用协议: e.g., Skype
Chapter 2: outline 2.1 principles of network 2.6 P2P applications applications 2.7 socket programming ☆ app architectures with UDP and TCP app requirements 2.2Webandhttp 2.3 FTP 2. 4 electronic mail .& SMTP POP3 IMAP 2.5 DNS Application Lay
Application Layer 2- 19 Chapter 2: outline 2.1 principles of network applications ❖ app architectures ❖ app requirements 2.2 Web and HTTP 2.3 FTP 2.4 electronic mail ❖ SMTP, POP3, IMAP 2.5 DNS 2.6 P2P applications 2.7 socket programming with UDP and TCP
些术语 口 Web page由一些对象( object)组成。 口对象简单来说就是文件,可以是HTML文件、JPEG图 像、Jαva小程序、音频文件 口Web页通常包含一个基本HTML文件,文件中包含若 干引用对象。 口每个对象通过一个URL进行访问。 口 Example URL: www.sOmesChool.edu/somedept/pic.gif host name path name 2: Application Lo
2: Application Layer 20 一些术语 Web page由一些对象(object)组成。 对象简单来说就是文件,可以是HTML文件、JPEG图 像、Java小程序、音频文件,… Web页通常包含一个基本HTML文件,文件中包含若 干引用对象。 每个对象通过一个URL进行访问。 Example URL: www.someschool.edu/someDept/pic.gif host name path name
2.2,1超文本传输协议-HTTP概述 口Web采用客户-服务器模式 client:浏览器请求、接收 和显示Web对象 PC running A server:Web服务器应客 Explorer Http request 户请求发送对象 e 口HTTP协议定义了浏览器和 se Se Web服务器之间的通信规则 running Apache Web 口HTTP10(RFC1945)和 Http 1.1(rfc 2068) Mac running Navigator Application Layer 21
2: Application Layer 21 2.2.1 超文本传输协议--HTTP 概述 Web采用客户-服务器模式 ❖ client: 浏览器请求、接收 和显示web对象 ❖ server: Web服务器应客 户请求发送对象 HTTP协议定义了浏览器和 web服务器之间的通信规则 HTTP 1.0(RFC 1945)和 HTTP 1.1(RFC 2068) PC running Explorer Server running Apache Web server Mac running Navigator