TCP控制协议(一)

The TCP is assumed to be a module in an operating system.  The users access the TCP much like they would access the file system.
TCP是操作系统内置的一种模型,他的目的是为了让像访问本地文件系统一样,访问网络数据。


The TCP/user interface provides for calls made by the user on the TCP to OPEN or CLOSE a connection, to SEND or RECEIVE data, or to obtain
 STATUS about a connection
TCP的接口为了让用户去打开、关闭一个连接,发送、接受数据或是去了解当前的访问状态

这个图很好的展现了 TCP所在的位置
It is expected that the TCP will be able to support higher level protocols efficiently.  It should be easy to interface higher level protocols like the ARPANET Telnet or AUTODIN II THP to the TCP.
他要求tcp要能够很easy的同上层的应用层协议进行“交流”。
A socket address might be reserved for access to a "Look-Up" service which would return the specific socket at which a newly created service would be provided.
Look up的意思是这个端口将会用于未来的服务

The procedures to establish connections utilize the synchronize (SYN) control flag and involves an exchange of three messages.  This exchange has been termed a three-way hand shake [3].
这个规程通过SYN的标识来进行连接,包含了三次信息交换,这种交换就是大名鼎鼎的三次握手。
The data that flows on a connection may be thought of as a stream of octets.
数据通过Stream来进行传输,这就是Socket编程里常用的流。。
 The purpose of push function and the PUSH flag is to push data through from the sending user to the receiving user.  It does not provide a record service.
Not all TCP modules will necessarily function in a multilevel secure environment; some may be limited to unclassified use only, and others may operate at only one security level and compartment.
接口函数有不同的安全级别
Transmission is made reliable via the use of sequence numbers and
  acknowledgments. 通过一个序列号,tcp保证了数据的可靠性,当然发送端不负责保证数据的完整性,这个由接收端的tcp来做。
 To govern the flow of data between TCPs, a flow control mechanism is employed.  The receiving TCP reports a "window" to the sending TCP.This window specifies the number of octets, starting with the acknowledgment number, that the receiving TCP is currently prepared to receive.

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注