How to create UDP App(To send and receive data ) with MIT APP inventor for ardunio/ESP32/RASPBERRY PI

 MIT APP inventor for Ardunio/ESP32/RASPBERRY PI




User Datagram Protocol (UDP) refers to a protocol used for communication throughout the internet.

How does UDP work?

Like all networking protocols, UDP is a standardised method for transferring data between two computers in a network. Compared to other protocols, UDP accomplishes this process in a simple fashion: it sends packets (units of data transmission) directly to a target computer, without establishing a connection first, indicating the order of said packets, or checking whether they arrived as intended. (UDP packets are referred to as ‘datagrams’.)

UDP is faster but less reliable than TCP, another common transport protocol. In a TCP communication, the two computers begin by establishing a connection via an automated process called a ‘handshake.’ Only once this handshake has been completed will one computer actually transfer data packets to the other.

UDP communications do not go through this process. Instead, one computer can simply begin sending data to the other:

What Kind Of Services Rely On UDP?

UDP is commonly used in time-sensitive communications where occasionally dropping packets is better than waiting. Voice and video traffic are sent using this protocol because they are both time-sensitive and designed to handle some level of loss. For example VOIP (voice over IP), which is used by many internet-based telephone services, operates over UDP. This is because a staticy phone conversation is preferable to one that is crystal clear but heavily delayed.

This also makes UDP the ideal protocol for online gaming. Similarly, because DNS servers both need to be fast and efficient, they operate though UDP as well.



Here is the link : UDP








Post a Comment

My Instagram

Made with by Pi-girl | Copyright © 2020 Pi-girl