The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
+20 votes

Which of the following functionality must be implemented by a transport protocol over and above the network protocol?

  1. Recovery from packet losses
  2. Detection of duplicate packets
  3. Packet delivery in the correct order
  4. End to end connectivity
asked in Computer Networks by Veteran (69k points) | 2k views
can someone explain the other options?
here why we are comparing transport and udp layer ,question is about network layer and tcp

and for tcp and network only tcp has end to end connectivity
Just additional question -

Let us assume TCP is not handling whatever is mentioned in option A, B and C. Then which layer would be best for handling these functionality ? (and How could it be handled ?)

6 Answers

+15 votes
Best answer
TCP and UDP are transport layer protocols.

Question is asking which service must be provided by transport layer so that source can successfully communicate to destination. UDP is a connection-less protocol but it's a transport layer protocol so that from here we can say that reliability is not a service that MUST be provided by transport layer protocols. with that same argument cut all those options in which such a service is mentioned which UDP doesn't provide so only D remain so it's answer..

other way to answer is ' for Process to Process delivery transport layer service is MUST otherwise there is no way to deliver the data to right process'.. if reliability is in danger data can survive (Data link layer also take care about errors so we can compromise error recovery at transport layer), if there are duplicate packets , yet data can survive ,only bandwidth is wasted, if packets are delivered out of order data can survive but if data of process A is delivered to process B , data can't survive.... "to Assigning port numbers" Transport layer service is MUST...
answered by Veteran (11.4k points)
selected by
very nicely explained!!
Thanks reena.
+21 votes
End to end connectivity is the required functionality provided by Trnasport protocol. UDP of transport layer protocol that doesn't implement other three functionalities, they are implemented only in TCP.
answered by Boss (8.6k points)
Packet delivery in the correct order is the common functionality which is implemented by both TCP and UDP. Other  functionalities as mentioned in the options are only implemented by TCP and not UDP. Hence, option C, must be implemented by the transport layer.

in question , trasport protocol is compared to network not [email protected] Imteyazmohsin 

Imteyazmohsin Since UDP is unreliable protocol and connectionless protocol,how come the packet's in UDP come in order.

+6 votes
Service point addressing is an important functionalities of transport layer That's why End to End connection or Socket to Socket connection is must gifted properties of Transport layer.
answered by Boss (8.4k points)
+5 votes
D. Transport layer protocol is called end to end connecting layer.
answered by Active (1.5k points)
+4 votes
Transport protocols are mainly for providing end to end connections by making sockets.
Recovery from packet loss & delivery in correct order, duplication is checked by Data link layer.
Hence (D) is correct option.
answered by Active (1.1k points)
–3 votes

Answer: D

answered by Active (1.5k points)

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true

33,688 questions
40,231 answers
38,803 users