Q. Can you explain the difference between UDP and TCP internet protocol (IP) traffic and its usage with an example? A. Transmission Control Protocol (TCP) and User Datagram Protocol (UDP)is a transportation protocol that is one of the core protocols of the Internet protocol suite. Both TCP and UDP work at transport layer TCP/IP model and both have very different usage.
Overview
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.
On the contrary, UDP has been implemented among some trojan horse viruses. Hackers develop scripts and trojans to run
over UDP in order to mask their activities. UDP packets are also used in DoS (Denial of Service) attacks. It is important to know the difference between TCP port 80 and UDP port 80. If you don't know what ports are go here.
Frame Structure
As data moves along a network, various attributes are added to the file to create a frame. This process is called encapsulation. There are different methods of encapsulation depending on which protocol and topology are being used. As a result, the frame structure of these packets differ as well. The images below show both the TCP and UDP frame structures.
The payload field contains the actually data. Notice that TCP has a more complex frame structure. This is largely due to the fact the TCP is a connection-oriented protocol. The extra fields are need to ensure the "guaranteed delivery" offered by TCP.
TCP stands for Transmission Control Protocol and it guarantees delivery of data packets. This protocol provides extensive error checking mechanisms such as flow control and acknowledgment of data. Transmission Control Protocol (TCP) is a
connection
oriented protocol. Before transmitting data, a connection must be established between the devices participating in data
transmission. If your Application require guaranteed delivery of data, then you must choose TCP as the Transport layer protocol. UDP stands for User Datagram protocol and it operates in Datagram mode. The main difference you should notice here is User Datagram Protocol (UDP) is a connection-less protocol. User Datagram protocol (UDP) has only the basic error checking mechanism using checksums.
Difference between Transmission Control Protocol (TCP) and User Datagram Protocol (UDP)
open a connection
Multiplexing and Demultiplexing is possible in Transmission Control Protocol (TCP) using TCP port numbers.
Re: What does MOS means in GSM/UMTS terms? MOS has same algortihm for 2G and 3G. (For Non WB-AMR Calls). So MOS is independent of used technology, it is only dependent on end to end voice. MOS is affected by many reasons: -Codec type (AMR FR & EFR has highest value) -Codec Rate (12.2 kbps gives highest value) -RF Conditions -Mobility (Handover, Codec Rate Change has negative effect on MOS) -Core Network Parameters or Silence, Echo, DTX etc. -Noise Reduction Algorithms Recently P.OLQA algorithm is available for P 862.2 MOS measurement algorithm. This algorthm is used for WB-AMR calls besides previous codec types. But mapping is different.