当前位置:网站首页>TCP连接细节问题
TCP连接细节问题
2022-06-22 05:35:00 【xiaozhuxuejava】
理解TCP连接的过程中的一些细节
前言:新手小白,如有错误,欢迎指教
两台主机上的两个进程建立TCP连接,建立连接的这个过程,以及后续数据传送的过程,仅仅只发生在运输层上吗?显然不是!
我的初步分析是端系统与端系统建立了一个逻辑连接,但是TCP协议只发生在端系统中,也就是说TCP协议是运输层上的协议。在端系统中,运输层将来自应用层进程的报文传输至(网络边缘)网络层。既然TCP协议只发生在端系统中,那么后续的数据传送的过程还是会经过网络层链路层等的。由于网络层的传输是不可靠的,为了消除这些不可靠因素,所以TCP在IP上建立一个可靠数据传输服务消除网络层的不可靠。这样的话,两个主机的两个应用进程之间的数据交付就会变得非常可靠,很难丢失。
总结一下,就是我们就从逻辑上看上去只是在运输层上建立了一个可靠的信道,以便两台主机上的两个进程之间的信息传输稳定不丢失,但实际上我们是通过运输层的可靠数据传输协议将网络层的不可靠传输消除的。

边栏推荐
- Record some problems and solutions encountered in processing SIF data
- Independent station optimization list - how to effectively improve the conversion rate in the station?
- 非传递骰子(春季每日一题 51)
- Clion installation Download
- 电脑卡顿怎么办?
- Analysis of annual average temperature based on TMP data in cru
- nacos server 源码运行实现
- QEMU ARM interrupt system architecture
- Redis connection error: err client send auth, but no password is set 2 solutions
- OPTEE notes
猜你喜欢

机器学习笔记 七:强大的神经网络表述

网络、IO流、反射、多线程、异常

为Cortex-M4编写优化的DSP代码

SCM future employment development direction, learn SCM must know some entry-level knowledge and industry prospects, read the benefit

AUTOSAR从入门到精通100讲(150)-SOA架构及应用

以太网UDP帧发包设计

EPP (Enhanced Parallel Port 增强型并口)

Adaboost

机器学习笔记 六:逻辑回归中的多分类问题之数字识别

Key points of Facebook account "unsealing, anti sealing and maintaining ID" have been collected!
随机推荐
北峰助力南昌市应急管理局打造公专融合应急通信保障网
Academic circle of cattle II (daily question 49 in spring)
innosetup判断程序已经运行方法
nacos server 源码运行实现
Record some problems and solutions encountered in processing SIF data
Go language uses JWT
RGB, sRGB and XYZ coordinate conversion
Prompt box moving with the mouse
Creating GLSL Shaders at Runtime in Unity3D
Introduction to golang Viper Library
BinaryFormatter 保存和加载游戏数据 For Unity
QEMU ARM interrupt system architecture 2
Link a static library‘s all sections
AUTOSAR从入门到精通100讲(150)-SOA架构及应用
Working method: 3C scheme design method
n个整数的无序数组,找到每个元素后面比它大的第一个数,要求时间复杂度为O(N)
C指針的理解
Sogou input method cannot output Chinese
Frame profiling
Current market situation analysis and investment analysis prospect report of global and Chinese ceramic capacitor industry 2022-2027