Home | Ajax | BioInformatics | Dojo | EAI | EJB | Hibernate | J2ME | Java | Java Glossary | Java Servlets | JavaScript | Jboss | JDBC | JDO | Jmeter | JSF | JSP | JUnit | Maven | MySQL | Spring Framework | SQL | Struts | Technology | WAP | Web Services | XML
 
 
Search All Tutorials
  

 
Programming Tutorials: Ajax | Articles | JSP | Bioinformatics | Database | Free Books | Hibernate | J2EE | J2ME | Java | JavaScript | JDBC | JMS | Linux | MS Technology | PHP | RMI | Web-Services | Servlets | Struts | UML
 
Java
  JDO Tutorials
  EAI Articles
  Struts Tutorials
  Java Tutorials
  Java Certification
  Java Applet
Questions
Comments

UDP (User Datagram Protocol)

                         

The User Datagram Protocol (UDP) is a transport protocol that supports Network Application. It layered on just below the ‘Session’ and sits above the IP(Internet Protocol) in open system interconnection model (OSI). This protocol is similar to TCP (transmission control protocol) that is used in client/ server programs like videoconference systems expect UDP is connection less.

User Datagram Protocol transports the data between the computers in the form of data packets, but it does not track the data and never shows the confirmation report.

UDP and TCP both are used to transport the data but there are some differences in it.

  • UDP is a connectionless protocol while TCP is connection oriented.
  • UDP never track the data, so never shows the confirmation report, while TCP track the data and show confirmation report, after receiving, if the data losses anywhere it resends that particular data.
  • UDP transport the data in the form of Data packets, whereas TCP transport the data in long stream. It flows continuous. To make in the form of packets stack is required on the both end for reassembling them. In the sending end, stack breaks the flow of the data and sends the data in the form of packets, on the receiving end, the stack reassemble the data from packets to flowing form.
  • TCP has 20 bytes of overhead while UDP has only 8 bytes of overhead.
  • Times can be established in TCP protocol in sending the data, because the data packets goes one after one in the sequence form and each packets takes a specific time period, whereas no times period can be established in the UDP protocol case, because the data transmits in non-sequence form.
  • UDP transmit the data according to the generation of data, which is produced by the bandwidth of the Internet, if there is any obstacle in the network it could be lost due to the overflowing of data in the router. On the other hand TCP has a cognition control mechanism that indicates the senders about the congestion and it tolerate the transmitting process for some times.

IN spite of being so many demerits, UDP is very useful in some circumstances, especially in speed and network management. Its speed is faster than TCP protocol. UDP transports the data periodically and with no guarantee. So the updated data can be send after a certain period, which not only recovers the lost data but also it updates network. While in the TCP it is very difficult to recover the lost data at the congestion stage. It is also not suitable to carry network management due to its transmitting methodology.

                         

Facing Programming Problem?
Add This Tutorial To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 

Current Comments

0 comments so far (post your own) View All Comments Latest 10 Comments:

Leave your comment:

Name:

Email:

URL:

Title:

Comments:


Enter Code:

 

Note: Emails will not be visible or used in any way, and are not required. Please keep comments relevant. Any content deemed inappropriate or offensive may be edited and/or deleted.

No HTML code is allowed. Line breaks will be converted automatically. URLs will be auto-linked. Please use BBCode to format your text.

Hot Web Programming Job

Java String toLowerCase Example
Java String toCharArray Example
Java String substring Example
Java String indexOf Example
Java String startsWith Example
Java String hashCode Example
Java String matches Example
Java String length Example
Java String lastIndexOf Example
Java String isEmpty Example
Java String equalsIgnoreCase Example
Java String equals Example
Java String endsWith Example
Java String copyValueOf Example
Java String contentEquals Example
  EAI Articles
  Java Certification
Tell A Friend
Your Friend Name
Search Tutorials

 

 
 
Browse all Java Tutorials
Java JSP Struts Servlets Hibernate XML
Ajax JDBC EJB MySQL JavaScript JSF
Maven2 Tutorial JEE5 Tutorial Java Threading Tutorial Photoshop Tutorials Linux Technology
Technology Revolutions Eclipse Spring Tutorial Bioinformatics Tutorials Tools SQL
 

Home | JSP | EJB | JDBC | Java Servlets | WAP  | Free JSP Hosting  | Search Engine | News Archive | Jboss 3.0 tutorial | Free Linux CD's | Forum | Blogs

About Us | Advertising On RoseIndia.net  | Site Map

India News

Indian Software Development Company

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright © 2007. All rights reserved.