30 likes | 159 Vues
User Datagram Protocol (UDP) is a connectionless protocol that facilitates data transmission without reliability checks such as sequencing or acknowledgments (acks). It's commonly used in applications requiring fast data delivery, such as network monitoring, DNS resolution, and streaming media. Each UDP frame contains crucial information including source and destination ports, length, and a 16-bit checksum for error-checking. This guide explores UDP's functionality and how it establishes a virtual circuit between communicating processes on different devices, ensuring seamless and efficient data transfer.
E N D
UDP • Connectionless services • No reliability checks (sequencing/acks) • Some apps • Network monitoring • DNS name resolution • Streaming audio & video
Frame format • Source Port/Destination Port: A port (socket/session) Virtual circuit between two communicating processes on two different computers or devices • The source port is the port on the sending device. • The destination port is a TCPport on a receiving device that corresponds with the source port on the sending device • Length: contains information about the length of the frame • Checksum: The checksum is a 16-bit cyclic redundancy check (CRC) that is computed by adding the length of all header fields plus the length of the data payload field (the sum of all fields in the TCP segment). • Placed in the frame by the sending station. • The recipient also calculates the checksum and compares its calculation with the value in the checksum field.