Why HTTP use TCP connection ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why HTTP use TCP connection ?

Help Me

3rd Jun 2018, 8:07 PM
Nabyendu Barui
Nabyendu Barui - avatar
4 Answers
+ 4
Because TCP sends the data in order. Otherwise images and text would be where ever happens and websites would be just a big mess.
4th Jun 2018, 1:10 AM
Toni Isotalo
Toni Isotalo - avatar
+ 2
Because TCP is connection oriented means it provide acknowledgement, so it send data with sequence, TCP provide guarantee, so sender know that our data is successful received by receiver, so we use TCP.
7th Dec 2018, 6:02 AM
Gajendra Parmar
Gajendra Parmar - avatar
+ 1
because tcp is loss free and you don‘t need the speed of utp
3rd Jun 2018, 8:12 PM
Max
Max - avatar
+ 1
because TCP is connection protocol. it uses 3 way handshaking. it is reliable. now-a-days we have http 1.1 which is persistent. so TCP is better option for it. hope that helps.
4th Jun 2018, 2:05 AM
Dhruvin Soni
Dhruvin Soni - avatar