Does HTTP use UDP?

前端 未结 14 1404
夕颜
夕颜 2020-11-29 18:12

This might be a silly question:

  • Does HTTP ever use the User Datagram Protocol?

For example:

If one is

14条回答
  •  情书的邮戳
    2020-11-29 18:46

    UDP is the best protocol for streaming, because it doesn't make demands for missing packages like TCP. And if it doesn't make demands, the flow is far more faster and without any buffering.

    Even the stream delay is lesser than TCP. That is because TCP (as a far more secure protocol) makes demands for missing packages, overwriting the existing ones.

    So TCP is a protocol too advanced to be used for streaming.

提交回复
热议问题