惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Google DeepMind News
Google DeepMind News
N
Netflix TechBlog - Medium
The Register - Security
The Register - Security
C
Cybersecurity and Infrastructure Security Agency CISA
H
Hackread – Cybersecurity News, Data Breaches, AI and More
The Hacker News
The Hacker News
P
Proofpoint News Feed
Project Zero
Project Zero
The GitHub Blog
The GitHub Blog
The Last Watchdog
The Last Watchdog
F
Fortinet All Blogs
S
Schneier on Security
Help Net Security
Help Net Security
Security Archives - TechRepublic
Security Archives - TechRepublic
C
Check Point Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
P
Proofpoint News Feed
I
InfoQ
T
The Blog of Author Tim Ferriss
Cisco Talos Blog
Cisco Talos Blog
Stack Overflow Blog
Stack Overflow Blog
T
Troy Hunt's Blog
人人都是产品经理
人人都是产品经理
T
Threatpost
www.infosecurity-magazine.com
www.infosecurity-magazine.com
C
Cyber Attacks, Cyber Crime and Cyber Security
雷峰网
雷峰网
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
爱范儿
爱范儿
Forbes - Security
Forbes - Security
Vercel News
Vercel News
S
Security Affairs
美团技术团队
P
Privacy & Cybersecurity Law Blog
N
News and Events Feed by Topic
Cyberwarzone
Cyberwarzone
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Jina AI
Jina AI
Spread Privacy
Spread Privacy
Attack and Defense Labs
Attack and Defense Labs
IT之家
IT之家
U
Unit 42
Recorded Future
Recorded Future
W
WeLiveSecurity
PCI Perspectives
PCI Perspectives
P
Palo Alto Networks Blog
H
Hacker News: Front Page
S
Security @ Cisco Blogs
博客园 - 【当耐特】

博客园 - embed

TCP IP for embed system [zt]模拟视频 入门 UDP and TCP difference reference book list linux device driver study(chapter2) 2004年的最后一帖 mips的函数调用与堆栈 yuv2rgb 优化与优化工具 arm assembly note dsp编程学习 图象传感器厂家 一些电路的FAQ 算法的书 rtos's schedule algorithm c++ 学习 关于密码学方面的书 编译原理方面的书 算法的书
TCP的写
embed · 2004-10-14 · via 博客园 - embed

2004年10月14日15:43:04
TCP的写一般都是立即返回,但数据不一定发送出去。
1)假如TCP的写返回错误,表示什么?
SIGPIPE-对等方reset连接(程序崩溃?是这样吗)

2)什么时候才真正的发送数据?
TCP的MMS在连接建立阶段协商,对于ethenet是1460.在TCP中的拥塞控制有两个窗口一个算法.

拥塞窗口:
    a.慢启动阶段SWS:此窗口以指数方式增大,每次增大一个MMS段.是为防止应用程序突发大量数据导致路由器缓冲溢出,而导致重传从而阻塞.
    b.预防阶段:当达到慢启动阀值时,该为线性增长.
此窗口在网络有段时间没数据时候可能减小?(是这样吗?)
发送窗口:
    由对方使用,在ACK消息中通知本方,目的是防止发送的数据超过对方缓冲区大小.

Nagel算法:
    要求在待发送队列中没有大于1个未收到ACK的小段.目的是防止应用发送一些列小段导致网络数据泛滥.结果是stack总以MMS大小发送数据?(是这样吗?),此算法在发送和接收端都有效.

setsockopt的选项