30 votes 30 votes Packets of the same session may be routed through different paths in: TCP, but not UDP TCP and UDP UDP, but not TCP Neither TCP nor UDP Computer Networks gatecse-2005 computer-networks tcp udp easy + – Kathleen asked Sep 22, 2014 Kathleen 19.6k views answer comment Share Follow See all 2 Comments See all 2 2 Comments reply Lucky sunda commented Oct 6, 2016 reply Follow Share If instead of session, connection would have been there, what would be the change?? 0 votes 0 votes Gaurav Yadav commented Sep 18, 2021 i edited by Gaurav Yadav Sep 24, 2021 reply Follow Share The Internet chosen connectionless service at the network layer. Datagram approach to packet switching is used. Route for each packet is calculated independently. TCP is connection oriented in the way that data transfer happens in 3 phases: Connection Establishment Data Transfer Connection Termination TCP makes sure packet reach the destination host. In TCP, connection oriented is related to reliability not path followed by packets. Therefore, Routing happens at the Network Layer which is an unreliable and connectionless service. A page from A. Forouzon (Data Communication & Networking) 3 votes 3 votes Please log in or register to add a comment.
Best answer 76 votes 76 votes b) TCP and UDP. Routing happens in Network layer and hence has no dependency with the the transport layer protocols TCP and UDP. The transport layer protocol- whether TCP or UDP is hidden to the router and the routing path is determined based on the the network configuration at the time and hence can change even during a session. Reference: http://stackoverflow.com/questions/15601389/if-tcp-is-connection-oriented-why-do-packets-follow-different-paths Arjun answered Dec 23, 2014 • edited Jun 29, 2018 by Milicevic3306 Arjun comment Share Follow See all 18 Comments See all 18 18 Comments reply Show 15 previous comments Rupendra Choudhary commented Dec 26, 2017 reply Follow Share Hello Rahul yes they do. in circuit switching, path from source to destination is predefined , so what do i want to say is during actual data transmission , switch won't have to take any decision. 0 votes 0 votes Rupendra Choudhary commented Dec 26, 2017 reply Follow Share Read more about switching here https://gateoverflow.in/3663/gate2004-it-22 1 votes 1 votes rahul sharma 5 commented Dec 26, 2017 reply Follow Share Thanks Rupendra. Yes,i know TCP dont use circuit switching. I was just confirming about circuit switching only:) 1 votes 1 votes Please log in or register to add a comment.
3 votes 3 votes In UDP as well as TCP data routed in different path. So option b Paras Nath answered Sep 15, 2016 Paras Nath comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes Answer: B. But i have a doubt that , we should consider OSI ref. model or TCP/IP ref. model. Because in OSI, PDU of network layer is packet but while in tcp/ip PDU of tcp is packet and PDU of IP and UDP is datagram. santosh08 answered Sep 1, 2019 santosh08 comment Share Follow See all 0 reply Please log in or register to add a comment.
–3 votes –3 votes TCP and UDP Paras Nath answered Sep 17, 2016 Paras Nath comment Share Follow See all 0 reply Please log in or register to add a comment.