随笔分类 -  TCP

tcp基础
摘要:下面这篇分析tcp连接建立超时时间,很好。 linux上默认超时时间为127s, 因为发出syn后,若没有收到回复,默认重传次数为6,且采用指数退避方式 1-1 2-2 3-4 4-8 5-16 6-32 64s后认为失败。 一共是127s。 http://www.chengweiyang.cn/2 阅读全文

posted @ 2019-12-04 19:28 yanhc 阅读(229) 评论(0) 推荐(0)

TCP加速方式
摘要:使用windows scaling TCP Extensions for High Performance, RFC1323,https://www.ietf.org/rfc/rfc1323.txt 这里说win7上默认是打开的,如何设置呢 https://www.sourcedaddy.com/w 阅读全文

posted @ 2019-11-30 11:37 yanhc 阅读(1569) 评论(0) 推荐(0)

windows10 CTCP
摘要:windows上除了普通tcp之外,有一个CTCP。 据说可以提升长延时情况下的吞吐量。 win7可以方便的通过netsh int tcp set global congestionprovider=ctcp设置。 win10已经不能通过netsh设置了,只能通过power shell,ps设置。 阅读全文

posted @ 2019-11-24 20:58 yanhc 阅读(1941) 评论(0) 推荐(0)

大延时情况tcp和udp测试
摘要:环境搭建 使能Ubuntu的IPv6转发功能 写入开机配置文件 vi /etc/sysctl.conf 将其中ipv6转发的行去掉注释即可。 设置Ubuntu的IPv6静态路由表,实现静态转发 route -6 add 2001::1/128 gw 2001::1 使用Ubuntu的netem,设置 阅读全文

posted @ 2019-11-24 17:37 yanhc 阅读(1874) 评论(0) 推荐(0)

space transport protocols
摘要:VSAT系统对TCP的改进 https://www.vsat-systems.com/broadband-satellite-internet/index.html TCP/IP over satellite, some background TCP/IP is the "language" of 阅读全文

posted @ 2019-10-26 11:45 yanhc 阅读(188) 评论(0) 推荐(0)

TCP
摘要:RFC 1323 - TCP Extensions for High Performance RFC 2488 - Enhancing TCP Over Satellite Channels using 传输层端口号定义 https://www.iana.org/assignments/servic 阅读全文

posted @ 2019-06-29 09:56 yanhc 阅读(187) 评论(0) 推荐(0)

windows socket ipv6 SOCK_RAW
摘要:bind处一直报错WSAEADDRNOTAVAIL10049,不知道为什么? win10, vs2015 1 #include <stdio.h> 2 #include <winsock2.h> 3 #include <ws2ipdef.h> 4 5 #pragma comment(lib, "ws 阅读全文

posted @ 2019-01-22 21:45 yanhc 阅读(815) 评论(0) 推荐(0)

导航