Explain why an application that needs reliable, ordered delivery might choose Transmission Control Protocol (TCP), while a real-time application that can tolerate some loss might choose User Datagram Protocol (UDP). Include the trade-offs of each.
Answer
TCP creates a session and supports sequence information, acknowledgements, and retransmission of missing data, making it suitable when reliable delivery and correct ordering matter. These mechanisms require a larger header and session state on end devices, and that state can be targeted by attackers who create many fake sessions. UDP has a smaller, simpler header and no explicit session creation, delivery confirmation, or reliability mechanisms, making it suitable for some real-time applications that can tolerate loss. The trade-off is that UDP does not itself recover missing or out-of-order data.
Explanation
Related Questions
- Which statement best describes the protection a Virtual Private Network (VPN) provides?(basic)
- A VPN that encrypts traffic also guarantees that the applications on both endpoints are safe.(basic)
- Explain why a split-tunnel design can reduce central inspection, and identify the traffic affected.(advanced)
- Select ALL protection goals a VPN can support directly through the mechanisms described in the course.(intermediate)
- Compare remote-access and site-to-site VPN designs, including their endpoints and a suitable example of each.(basic)
Want to practice more questions like this?
Join myBenkio free and practice past questions for your Nigerian university courses with AI explanations for every answer.
Start Practicing Free