UDP

Learn how the UDP module works in Node.js.

UDP

Alongside TCP, UDPUser Datagram Protocol is the other most common communication protocol. It provides a simple and lightweight connectionless communication model. Being connectionless, a very minimal amount of protocol mechanisms come into play when sending packets. While checksums are still used for data integrity, UDP is favored in real-time applications, as it avoids the overhead of setting up a connection, error-checking, and retransmission delays.

The dgram module

...
Access this course and 1400+ top-rated courses and projects.