Animation :TCP vis-a-vas UDP

TCP is a heavyweight, connection oriented Transport layer protocol.When a file or message send it will get delivered unless connections fails. If connection lost, the server will request the lost part. There is no corruption while there is transfer of message. The message will be in ordered way.Used for bigger segments. Examples of applications using TCP are World Wide Web (Apache TCP port 80), e-mail (SMTP TCP port 25 Postfix MTA), File Transfer Protocol (FTP port 21) and Secure Shell (Open SSH port 22) etc.
UDP is lightweight, connectionless Transport layer protocol.Once we send a data or message, we don't know if it'll get there, it could get lost on the way. There may be corruption on the way to the destination.The received message may or may not in ordered way.Used for smaller segments.Examples of applications using UDP are Domain Name System (DNS UDP port 53), streaming media applications such as IPTV or movies, Voice over IP (VoIP), Trivial File Transfer Protocol (TFTP) and online multiplayer games etc.
   Understand the two protocols through the animations below.
That's it !
TCP Connection:   

TCP Flow:

UDP Flow:

3 comments: