简述tcp和udp的差别和使用
时间: 2023-08-29 16:11:12 浏览: 166
TCP(Transmission Control Protocol)和UDP(User Datagram Protocol)是两种常用的传输协议,它们有以下几点差别和使用场景。
首先,TCP提供可靠的数据传输,通过TCP连接进行传输的数据没有差错,不会丢失,不会重复,并且按序到达。而UDP则不保证可靠的传输,它只尽最大努力进行交付。由于TCP可靠性较高,适合传输大数据量的交换。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [TCP 和 UDP 的区别 TCP 和 UDP 详解](https://blog.csdn.net/anananajiushiwo/article/details/125119014)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [TCP和UDP的区别](https://blog.csdn.net/u014453898/article/details/114443212)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文