Saturday, February 9, 2008

User Datagram Protocol

User Datagram Protocol (UDP) is one of the main protocols of the Suite of Internet protocols. UDP is a protocol of transport to package. It is used of usual in combination with protocol IP.

To difference of the TCP, it does not manage the riordinamento of the packages neither the rebroadcast of those lost. The UDP has like characteristic of being a protocol of inaffidabile net, protocol connectionless, but in compensation much efficient express and for the applications "to read" or Time-sensitive. In fact, it is often used for the transmission of information audio or video. Since the applications in real time often demand the minimal shipment rhythm, they do not want to delay excessive the transmission of the packages and can tolerate some loss of data, the model of service TCP can particularly not be adapted to the requirements of these applications. The UDP supplies only the basic services of the level of transport, that is:

* multiplazione of the logons, obtained through the mechanism of the doors
* verification of the errors by means of a checksum, inserted in a field of the heading of the package.

while TCP guarantees also the reliable transfer of the data, the control of flow and the control of the congestion.

UDP is a protocol stateless that is lacking in state: it does not maintain the state of the logon therefore regarding TCP it has information in less memorizzare. A serveur dedicated to a particular application that it chooses UDP as transport protocol can support many client more active ones.

No comments: