<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>网络 on 蓝尾蜂鸟</title><link>https://clibing.com/categories/%E7%BD%91%E7%BB%9C/</link><description>Recent content in 网络 on 蓝尾蜂鸟</description><generator>Hugo -- gohugo.io</generator><language>zh-cn</language><copyright>Copyright © 2011-2026 clibing. All Rights Reserved.</copyright><lastBuildDate>Sat, 22 Aug 2020 08:41:39 +0800</lastBuildDate><atom:link href="https://clibing.com/categories/%E7%BD%91%E7%BB%9C/index.xml" rel="self" type="application/rss+xml"/><item><title>TCP UDP 优缺点以及原理和引用</title><link>https://clibing.com/posts/protocol/tcp_udp/</link><pubDate>Sat, 22 Aug 2020 08:41:39 +0800</pubDate><guid>https://clibing.com/posts/protocol/tcp_udp/</guid><description><![CDATA[<h3 id="tcp-udp-优缺点" data-numberify>TCP UDP 优缺点<a class="anchor ms-1" href="#tcp-udp-优缺点"></a></h3>
<ul>
<li>tcp:面向连接点到点、可靠、无结构的字节流，全双工</li>
<li>udp:支持1:n,1:1,n:1,没有阻塞控制。尽最大努力交付不可靠，报文</li>
</ul>

<h5 id="tcp-可靠稳定" data-numberify>TCP: 可靠、稳定。<a class="anchor ms-1" href="#tcp-可靠稳定"></a></h5>
<p>使用场景：数据必须准确无误的传输，不允许丢失。基于tcp的协议有http、https、ftp文件协议、smtp邮件协议、ssh协议</p>]]></description></item></channel></rss>