Quality RTOS & Embedded Software

  Real time embedded FreeRTOS RSS feed  

UDP

Ethernet packets can carry IP packets, which in turn can carry UDP packets.

UDP standard for User Datagram Protocol. UDP is used to send and receive data in connectionless packets called datagrams. The packets are considered connectionless because, unlike TCP packets, they do not need to establish a connection to another network node before they can send or receive data.

The UDP protocol does not include a means of knowing if transmitted data ever reached its intended recipient. If such an acknowledgement is required then it must be provided by the application itself. For example, an application might very crudely use separate UDP packets to echo received data back to the sender to let the sender know the data was received.

UDP is much faster, simpler, and requires less RAM than TCP.

See also UDP Sockets.

Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.