Difference between TCP and UDP


1-TCP converts upper layer data in to segments and the segments are numbered and sequenced so that the destination TCP can place them in the same order, and can easily detect a missing segment. But in UDP data is broken in to segments and the segments are numbered but not sequenced.

2-TCP is connection oriented because it creates a virtual circuit between the source and destination before sending data. But UDP does not create any virtual circuit before sending data.

3-TCP uses acknowledgement to resent missing segments, but there is no acknowledgement in UDP.

4-So we can say TCP provide reliable communication but UDP provides unreliable communication.

5-Since TCP is creating virtual circuits, TCP is costly in terms of bandwidth. But UDP has low overhead

Comments

Popular posts from this blog

Lecture 4: Network Cabling and Tools

Lecture 3(a) :Transmission Media

Network Engineer