Computers and laptops
Windows
Mac
Linux
Browser extensions
Chrome
Firefox
Home and office network
Router
Manual settings
Smartphones and tablets
iOS
Android

User Datagram Delivery Protocol UDP

The task of the User Datagram Protocol (UDP) transport layer is to transfer data between application processes without guarantees of delivery, so its packets can be lost, duplicated, or arrive in the wrong order in which they were sent.

сентябрь 08, 2020

The purpose of the User Datagram Protocol (UDP) transport layer is to transfer data between application processes without guaranteed delivery, so its packets can be lost, duplicated, or arrive in the wrong order in which they were sent.

User Datagram Delivery Protocol UDP is a transport protocol whose purpose is to transmit received information in any order, without guarantees of delivery. Therefore, during the transfer of data by the selected option, files may be duplicated, lost or swapped.

UDP port options, their varieties

Network portals are responsible for the competent and timely forwarding of information between several network nodes, the selected transport transmissions occur between application processes, which can be carried out on any node of the process.

When information comes through the IP to the user's personal computer, it goes through application processes that can use multiple entry points.

When information enters the computer, it is organized and queued for entering any applied action. The chosen option for transferring information is called a portal. Each portal has its own identification number.

That is, when sending information, a number is set:

  • port;
  • networks; computer.

Portal numbering can be done automatically with TFTP (Trivial FTP) files or manually using telnet program.

The centralized number can be obtained through the Internet Assigned Numbers Authority, permanent numbers are recorded and recorded on the Internet.

Creating Protocols Using UDP

The selected systems work in two directions. They have two lines. In one flow, information enters the network, and in the second from the network.

If information comes from different places - this process is called - multiplexing. Demultiplexing is the process of distributing UDP incoming information, in which there are portal numbers.

Applications most often refer to protocols called TCP for information. UDP is a common intermediary among application services and network layers, so during transmission, the selected point does not take responsibility for correct and reliable transmission.

UDP is a datagram protocol, it only makes a logical connection, does not sort information by any parameters.

The protocol has a simple understandable algorithm, compact code, and quick expression of actions. If a reliable data transfer protocol is installed between computers, then a less reliable transport protocol may be used, which transfers data much faster.

Also, the UDP protocol can be used during data transmission, where there are reliable channels, logical connections, and the transmitted packets are also acknowledged.

Used UDP Formats

Calculated as UDP in UDP packets or datagram. The package is most often displayed from:

1.Headings, it comes from 4 fields, which weigh two bytes each.

2. Data fields.

The title and its 4 fields:

  • UDP source port - port address of the sending process,
  • UDP destination port - port address of the receiving process,
  • UDP message length - measurement of a UDP packet in bytes,
  • UDP checksum - total UDP packet count

The protocol fields do not always have to be completely recorded. For example, if the sender sends information only in one direction and does not wait for a response, then the feedback field may contain one zeros.

Tags:#UDP