Open In App

GATE | GATE-CS-2005 | Question 23

Like Article
Like
Save
Share
Report

Packets of the same session may be routed through different paths in

(A)

TCP, but not UDP

(B)

TCP and UDP

(C)

UDP, but not TCP

(D)

Neither TCP, nor UDP



Answer: (B)

Explanation:

The correct answer is (B) TCP and UDP.

In both TCP (Transmission Control Protocol) and UDP (User Datagram Protocol), packets of the same session can be routed through different paths. Both TCP and UDP are transport layer protocols used for communication over IP networks.

TCP is a connection-oriented protocol that establishes a reliable and ordered stream of data between two endpoints. It ensures that packets are delivered in the correct order and handles retransmission of lost packets. TCP can take different paths for routing packets due to factors such as network congestion, load balancing, or changes in network topology.
 

UDP, on the other hand, is a connectionless protocol that does not guarantee reliability or ordering of packets. Each UDP packet is treated independently and sent individually. As UDP does not have built-in mechanisms for retransmission or sequencing, packets of the same session can be routed through different paths.
 

Therefore, both TCP and UDP allow packets of the same session to be routed through different paths.

See Question 1 of http://www.geeksforgeeks.org/computer-networks-set-5/


Quiz of this Question
Please comment below if you find anything wrong in the above post


Last Updated : 28 Jun, 2021
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads