Socket Programming Question:

What is the difference between TCP and UDP?

Tweet Share WhatsApp

Answer:

TCP and UDP are both transport-level protocols. TCP is designed to provide reliable

communication across a variety of reliable and unreliable networks and internets.

UDP provides a connectionless service for application-level procedures. Thus, UDP is basically an unreliable service; delivery and duplicate protection are not guareented.

Download Socket Programming PDF Read All 62 Socket Programming Questions
Previous QuestionNext Question
Name the seven layers of the OSI Model and describe them briefly?What does a socket consists of?