Part Xv 网络应用软件 第一讲 (客户-服务器概念, 协议端口的使用,套接字AP
Part XV 网络应用软件 第一讲 (客户-服务器 概念, 协议端口的使用, 套接字API)
应用层的功能 ●传输层及其以下层 通讯基础 可靠性 ●应用层 抽象 文件 各种服务 ●数据库 定义了标识网络上物理的和抽象的资源的符号名称。 2 2021/2/11
2 2021/2/11 应用层的功能 ⚫ 传输层及其以下层 – 通讯基础 – 可靠性 ⚫ 应用层 – 抽象 ⚫ 文件 ⚫ 各种服务 ⚫ 数据库 – 定义了标识网络上物理的和抽象的资源的符号名称
二重性 网络 传输位 在应用程序请求下工作 由应用程序的决定 发送什么? 何时发送? 发送至何处? 每个位的含义 3 2021/2/11
3 2021/2/11 二重性 ⚫ 网络– 传输位 – 在应用程序请求下工作 ⚫ 由应用程序的决定 – 发送什么? – 何时发送? – 发送至何处? – 每个位的含义
要点 Although an internet system provides a basic communication service, the protocol software cannot initiate contact with, or accept contact from, a remote computer. Instead, two application programs must participate in any communication: one application initiates communication and the other accepts it 虽然因特网提供了基本的通讯服务,但是协议软件并不能 初始化连接,或是接收来自远程计算机的连接请求。历 是在任何通信中,必须要有两个应用程序共同参匀:一个 发出连接请求另外一个接受请求 从这个角度看, interne更象一个电话系统 4 2021/2/11
4 2021/2/11 要点 Although an internet system provides a basic communication service, the protocol software cannot initiate contact with, or accept contact from, a remote computer. Instead, two application programs must participate in any communication: one application initiates communication and the other accepts it. 虽然因特网提供了基本的通讯服务, 但是协议软件并不能 初始化连接,或是接收来自远程计算机的连接请求。而 是在任何通信中,必须要有两个应用程序共同参与: 一个 发出连接请求,另外一个接受请求. 从这个角度看,internet更象一个电话系统
两个应用程序如何联系 个应用程序 首先开始执行 在预先设定的位置等待 另一个应用程序 随后开始执行 主动联系低一个程序 ●称为: client- server interaction 5 2021/2/11
5 2021/2/11 两个应用程序如何联系 ⚫ 一个应用程序 – 首先开始执行 – 在预先设定的位置等待 ⚫ 另一个应用程序 – 随后开始执行 – 主动联系低一个程序 ⚫ 称为: client-server interaction