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.7k 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 saurabhrk commented Jan 8, 2015 reply Follow Share Do you mean to say that it is IP packets at the network layer, which can be routed through more than one paths, since the TCP/UDP packets will be encapsulated inside the IP packets? Am I correct? 16 votes 16 votes Arjun commented Jan 17, 2015 reply Follow Share Yes. Exactly. 3 votes 3 votes DarKnight commented Aug 20, 2015 reply Follow Share TCP is conection orriented all datagram will follow same path. –2 votes –2 votes Arjun commented Aug 20, 2015 reply Follow Share http://stackoverflow.com/questions/15601389/if-tcp-is-connection-oriented-why-do-packets-follow-different-paths 2 votes 2 votes DarKnight commented Aug 21, 2015 reply Follow Share but sir in connection oriented resources are reserved so packests has to follow same path. otherwise why resouces are reserved. 0 votes 0 votes cse7 commented Jul 29, 2016 reply Follow Share if instead of packet, segment/datagram is given then in that case all segment follows same path and all datagram can follow different paths......is that correct? 0 votes 0 votes vijaycs commented Jul 29, 2016 reply Follow Share @Gurjot Singh,, Since path is determined by network layer, so irrespective of transport layer protocol, segment / datagram can follow same / different path. 3 votes 3 votes pps121 commented Sep 23, 2016 reply Follow Share @Xor , resources r reserved to provide Quality of service where quality means packets should reach in order, ACK should come and recovery of packets service is available. https://en.wikipedia.org/wiki/Resource_Reservation_Protocol#Key_concepts 4 votes 4 votes Rakesh K commented Jan 8, 2017 reply Follow Share What does session mean in UDP? Isn't it sessionless? 0 votes 0 votes Akash Mittal commented Sep 8, 2017 reply Follow Share in ipv4 , Isn't protocol field tells that which protocol is it using? 0 votes 0 votes bharti commented Sep 29, 2017 reply Follow Share @arjun sir network layer is present on routers , so it can see the protocol used by above layer TCP or UDP by protocol field. ... . so what would be the answer. ?? 0 votes 0 votes Prashant. commented Sep 29, 2017 reply Follow Share see router send packet by doing fragmentation ( in case packet size greater than MTU) so packet of same session or different session may be router through different path( there is no role of which protocol is used.) 2 votes 2 votes Rupendra Choudhary commented Oct 1, 2017 reply Follow Share TCP is connection oriented protocol that doesn't mean packets will follow same path... connection oriented means , through 3-way handshaking you have confirmed that your destination is alive and is ready to receive packets. It's like you have to send some docket to your friend and so you called him and ask whether he is still living there or not and is he ready to receive docket..your friend say yes and you send the docket...that's connection-oriented protocol all means.. Here is is asking about same session , and a single session may have many connections , so many paths for many connections... 13 votes 13 votes rahul sharma 5 commented Dec 26, 2017 reply Follow Share @Rupendra Choudhary Circuit switching all packets follow same path,right? 0 votes 0 votes joshi_nitish commented Dec 26, 2017 reply Follow Share @Rahul TCP doesn't use circuit switching 2 votes 2 votes 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.