TCP Layer Question:

Explain difference between TCP and UDP?

TCP Layer Interview Question
TCP Layer Interview Question

Answer:

TCP guarantees the delivery of data. UDP on the other hand, does not guarantee delivery of data. TCP delivers messages in the order they were sent. UDP has no ordering mechanisms. In TCP data is sent as a stream while UDP sends data as individual packets. UDP is faster than TCP. TCP is a connection oriented protocol while UDP is connectionless.


Previous QuestionNext Question
Do you know what is UDP protocol?What is Transmission Control Protocol (TCP)?