Typical Applications of UDP
Typical Applications of UDP
The following applications are particularly suited to UDP:
-
Simple Request–Response Applications
- UDP is suitable when an application needs a simple request-response communication.
- It is appropriate when there is little concern about flow control and error control.
- It is generally not suitable for bulk-data applications such as FTP.
-
Applications with Their Own Flow and Error Control
- UDP can be used when the application itself provides flow and error control.
- TFTP (Trivial File Transfer Protocol) is an example. TFTP has its own mechanisms for flow and error control and therefore can use UDP.
-
Multicasting Applications
- UDP is suitable for multicasting.
- Multicasting capability is supported by UDP, whereas TCP does not provide multicast capability.
-
Network Management Applications
- UDP is used by management protocols such as SNMP (Simple Network Management Protocol).
-
Route Updating Protocols
- UDP is used by some routing protocols for exchanging routing information.
- RIP (Routing Information Protocol) is an example.
-
Interactive Real-Time Applications
- UDP is normally used for interactive real-time applications.
- Such applications cannot tolerate uneven delays between sections of a received message.
- Real-time applications therefore benefit from UDP's simple and low-overhead nature.
Summary
| Application Type | Example |
|---|---|
| Simple request-response | Small request/response applications |
| Applications with internal error/flow control | TFTP |
| Multicasting | Multicast applications |
| Network management | SNMP |
| Route updating | RIP |
| Interactive real-time applications | Real-time audio/video applications |
Key idea: UDP is preferred when low overhead, simplicity, multicast support, or timely delivery is more important than the reliability and flow-control services provided by TCP.
Comments
Post a Comment