Home » Networking

TCP (Transmission Control Protocol) vs UDP (User Datagram Protocol)

5 February 2010 No Comment

TCP (Transmission Control Protocol) vs UDP (User Datagram Protocol)

In TCP, an end to end connection is being set up hence it’s a connection oriented. In UDP, an end to end connection is not being set up hence it’s a connectionless.
It Checks for errors, duplicate datagram’s and if any errors are found the packets are retransmitted. It Does not check for any errors or Duplication of packets.
An acknowledgement is being sent to the sender after receiving the packet. No acknowledgement is send to the sender
TCP has flow control over the datagram’s. In UDPthere is no flow control over datagram’s.
Transmission rate is slower in TCP as compared to UDP. Transmission rate is much faster than TCP.
Very reliable hence delivery of data can be assured. Not reliable hence delivery of data cannot be assured.
TCP is stream Oriented UDP is packet Oriented
Hackers don’t prefer to hack in TCP. Hackers prefer to hack in UDP.

In both TCP and UDP communication is Full Duplex.

Related Posts with Thumbnails
Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • NewsVine
  • Reddit
  • StumbleUpon
  • Google Bookmarks
  • Yahoo! Buzz
  • Twitter
  • Technorati
  • Live
  • LinkedIn
  • MySpace

Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.

Security Code: