Author Topic: Difference Between TCP and UDP  (Read 2565 times)

0 Members and 1 Guest are viewing this topic.

Offline techmaniac

  • kar bhla to ho bhla
  • Alumni
  • Techbits Elite Member
  • *
  • Points: 335
  • Posts: 2845
  • kar bhla to ho bhla
    • _
      Not Specified
    • View Profile
Difference Between TCP and UDP
« on: March 31, 2011, 11:12:05 pm »
Tcp vs udp  

TCP (Transmission Control Protocol) is the most commonly used protocol on the Internet. The reason for this is because TCP offers error correction. When the TCP protocol is used there is a "guaranteed delivery." This is due largely in part to a method called "flow control." Flow control determines when data needs to be re-sent, and stops the flow of data until previous packets are successfully transferred. This works because if a packet of data is sent, a collision may occur. When this happens, the client re-requests the packet from the server until the whole packet is complete and is identical to its original.  


UDP (User Datagram Protocol) is anther commonly used protocol on the Internet. However, UDP is never used to send important data such as webpages, database information, etc; UDP is commonly used for streaming audio and video. Streaming media such as Windows Media audio files (.WMA) , Real Player (.RM), and others use UDP because it offers speed! The reason UDP is faster than TCP is because there is no form of flow control or error correction. The data sent over the Internet is affected by collisions, and errors will be present. Remember that UDP is only concerned with speed. This is the main reason why streaming media is not high quality.
« Last Edit: March 31, 2011, 11:24:08 pm by rudeman »
You do not have permission to give points
point 0 Points

This topic did not receive points.

Offline purnima

  • Banned
  • Newbie
  • *
  • Points: 0
  • Posts: 2
    • View Profile
Difference Between TCP and UDP
« Reply #1 on: April 29, 2011, 06:37:19 pm »
I feel that that main difference is TCP is a connection-oriented protocol and UDP is a simpler message-based connectionless protocol.

Offline techmaniac

  • kar bhla to ho bhla
  • Alumni
  • Techbits Elite Member
  • *
  • Points: 335
  • Posts: 2845
  • kar bhla to ho bhla
    • _
      Not Specified
    • View Profile
Difference Between TCP and UDP
« Reply #2 on: April 29, 2011, 10:06:02 pm »
Quote from: purnima on April 29, 2011, 06:37:19 pm
I feel that that main difference is TCP is a connection-oriented protocol and UDP is a simpler message-based connectionless protocol.
 yeah you are right :) connectionless mean: one system transfer message with out prior knowledge of receiver and dont know that reciever is ready to accept the data or not.

 

Difference Between Draft Lokpal Bill and Jan Lokpal Bill

Started by techmaniac

Replies: 0
Views: 3407
Last post April 08, 2011, 02:37:05 pm
by techmaniac
Difference between bluetooth 2.0 and bluetooth 2.1

Started by Shankynayak

Replies: 1
Views: 1946
Last post August 18, 2012, 12:19:49 pm
by RamakantPareek
Difference Between Fraunhofer Diffraction And Fresnel Diffraction

Started by XYLS

Replies: 1
Views: 3677
Last post January 06, 2014, 05:23:53 pm
by ranjan82
What is the difference b/w morning shift and evening shift

Started by BEN TENNYSON

Replies: 6
Views: 5016
Last post May 09, 2013, 10:13:03 pm
by Champ
Difference Between Nokia 920, Samsung Galaxy S3 And Apple iPhone 5

Started by XYLS

Replies: 2
Views: 2212
Last post January 06, 2014, 05:18:58 pm
by ranjan82
Sitemap 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49