0
2.9kviews
Differentiate between TCP and UDP
1 Answer
written 7.8 years ago by |
Characteristics Description | UDP | TCP |
---|---|---|
Acronym for | User Datagram Protocol or Universal Datagram | Transmission Control Protocol |
General Description | Simple High speed low functionality "wrapper" that interface applications to the network layer and does little else | Full-featured protocol that allows applications to send data reliably without worrying about network layer issues. |
Protocol connection Setup | Connection less; data is sent without setup | Connection-oriented; Connection must be Established prior to transmission. |
Data interface to application | Message base-based is sent in discrete packages by the application. | Stream-based; data is sent by the application with no particular structure |
Reliability and Acknowledgements | Unreliable best-effort delivery without acknowledgements | Reliable delivery of message all data is acknowledged. |
Retransmissions | Not performed. Application must detect lost data and retransmit if needed. | Delivery of all data is managed, and lost data is retransmitted automatically. |
Features Provided to Manage flow of Data | None | Flow control using sliding windows; window size adjustment heuristics; congestion avoidance algorithms |
Overhead | Very Low | Low, but higher than UDP |
Transmission speed | Very High | High but not as high as UDP |
Data. Quantity Suitability | Small to moderate amounts of data. | Small to very large amounts of data. |