0
8.7kviews
How is TCP better than UDP? Explain services offered by TCP.
1 Answer
0
550views

TCP (Transmission Control Protocol) and UDP ( User Datagram Protocol) both are the Transport protocols which run on fourth layer of OSI model.

Both are used used for communication between two ends. Both protocols are Process-to-Process protocol.

TCP is better than UDP because of following reasons:

  • TCP is Reliable as it provides reliability of delivery of packets to the receiver while UDP is Non-reliable and does not give information about the packets.
  • TCP is Connection oriented it means connection is to be setup before data is sent that is done in form of 3-way handshake while UDP is Connectionless.
  • TCP provides flow control and error control characteristics while UDP doesn't provide it.
  • TCP gives guarantee that a packet will reach on the destination without any duplication and the order of data will also be same.

Services offered by TCP are:

a) Process-to-Process communication

b) Stream delivery Service

c) Full-Duplex Communication

d) Connection-oriented Service

e) Reliable Service

Please log in to add an answer.