Does HTTP use TCP or UDP? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Does HTTP use TCP or UDP?

Need to know how the inherit each protocol.

15th Sep 2017, 5:01 AM
E J Chathuranga
E J Chathuranga - avatar
3 Answers
+ 6
Uses TCP because its reliable. UDP is not reliable.
15th Sep 2017, 5:08 AM
Akbar Khalilzadeh
Akbar Khalilzadeh - avatar
+ 2
Http normally use TCP/IP UDP can broadcast data to multiple stations at the same time. It best use for video streaming, normally use in web-based video surveillance.
15th Sep 2017, 5:39 AM
Calviղ
Calviղ - avatar
+ 1
yeah, I read those articles. But in here I need to use HTTP and uploading protocol is UDP. But the by default HTTP use TCP for instead UDP because of the reliability issues. How can I move to UDP when I'm using HTTP. When I'm searching most of the guys had said that need to change port numbers. How can I do that?
15th Sep 2017, 5:05 AM
E J Chathuranga
E J Chathuranga - avatar