0
4.2kviews
Differentiate between TCP and UDP.
1 Answer
0
66views
Sr.No Characteristic/Description UDP TCP
1. General Description Simple, high-speed, low-functionality “wrapper ” that interfaces applications to the network layer and does little else Full-Featured protocol that allows applications to send data reliably without worrying about the network layer issues.
2. Protocol Connection Setup Connectionless; data is sent without setup Connection oriented; connection must be established prior to transmission
3. Data interface to application Message based; data is sent in discrete packages by the application Stream based; data is sent by the application with no particular structure.
4. Reliability and Acknowledgements Unreliable; best effort delivery without acknowledgements Reliable delivery of messages; all data acknowledged
5. Re-transmissions Not performed. Application must detect lost data and re-transmit if needed Delivery of all data is managed and lost data is re-transmitted automatically
6. Features Provided to manage flow of data None Flow control using sliding windows; window size adjustment heuristics; congestion avoidance algorithms.
7. Overhead Very low Low, but higher than UDP
8. Transmission speed Very high High, but not as high as UDP
9. Data Quantity Small to moderate amounts of data(up to few hundred bytes) Small to very large amounts of data (up to gigabytes)
10. Types of Application Applications where data delivery speed matters more than completeness, where small amounts of data are sent; or where multicast/broadcast are used Most protocols and applications sending data that must be received reliably, including most file and message transfer protocols
11. Well-Known Applications and Protocols Multimedia applications, DNS, BOOTP, DHCP, TFTP, SNMP, RIP FTP, Telnet, DNS, SMTP, HTTP, POP, NNTP, BGP, IRC, IMAP
Please log in to add an answer.