Skip to content

Commit

Permalink
fix problem HTTP可以使用UDP吗?
Browse files Browse the repository at this point in the history
  • Loading branch information
wangzitiansky committed Feb 5, 2020
1 parent febf34a commit 9d50b35
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Computer Network.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,15 +180,14 @@ UDP接收方收到报文后,不需要给出任何确认

<details>
<summary>展开</summary>

对某些实时性要求比较高的情况,选择UDP,比如游戏,媒体通信,实时视频流(直播),即使出现传输错误也可以容忍;其它大部分情况下,HTTP都是用TCP,因为要求传输的内容可靠,不出现丢失
</details>

##### HTTP可以使用UDP吗?

<details>
<summary>展开</summary>

HTTP不可以使用UDP,HTTP需要基于可靠的传输协议,而UDP不可靠

</details>

Expand Down

0 comments on commit 9d50b35

Please sign in to comment.