Does HTTP use TCP or UDP? | Sololearn: Learn to code for FREE!

+1

Does HTTP use TCP or UDP?

Need to know how the inherit each protocol.

9/15/2017 5:01:31 AM

E J Chathuranga

4 Answers

New Answer

+6

Uses TCP because its reliable. UDP is not reliable.

+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.

+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?