Computer Networking: A Top Down Approach 复习笔记 [Chapter 3.5 Connection-Oriented Transport: TCP]

本文详细介绍了TCP连接的建立过程,包括三次握手,TCP段结构,往返时间估计与超时重传,可靠数据传输以及流量控制。TCP通过错误检测、重传、累计确认和定时器等机制确保数据可靠性。连接管理中,TCP使用接收窗口字段进行流量控制,通过计算SampleRTT和DevRTT来估计和调整超时间隔。此外,TCP仅支持一对一的全双工连接,并利用选项字段协商最大段大小。
摘要由CSDN通过智能技术生成

目录

3.5 Connection-Oriented Transport: TCP

3.5.1 The TCP Connection

3.5.2 TCP Segment Structure

3.5.3 Round-Trip Time Estimation and Timeout

3.5.4 Reliable Data Transfer

3.5.5 Flow Control

3.5.6 TCP Connection Management


3.5 Connection-Oriented Transport: TCP

In previous chapter, reliable data transfer (rdt) is covered. Similarly, TCP also relies on many of the underlying principles like

  1. error detection
  2. retransmission
  3. cumulative ack
  4. timers
  5. header fields for sequence numbers and acknowledgment numbers

3.5.1 The TCP Connection

  • Connection/handshaking process of TCP establishes many TCP state variables for both client and server sides
  • TCP connection only exists in the end systems, i.e. it is a logical connection instead of a physical one as in TDM or FDM
  • TCP only handles point-to-point connection, i.e. only allows one sender and one receiver. But this connection is full-duplex service, i.e. the sender and receiver can send data to each other at the same time
  • High-level steps of establishing a TCP connection, i.e. a three-way handshake
    1. The client application process informs the client transport layer that it wants to establish a connection to a process in the server using the following port
    2. Then the client sends a special TCP segment through this connection
    3. The server responds with a second special TCP segment
    4. The client responds again with a third special TCP segment
  • The first two segments in the above steps has no payload, i.e. has not application layer data, the third may carry a payload
  • Terminology
    1. Send buffer (one of the TCP connection
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值