The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
0 votes
16 views
Is packets come to destination in order for both TCP and UDP?
asked ago in Computer Networks by Junior (579 points) | 16 views
0
not in UDP
0
But ,I read somewhere that TL always send packets to AL in order.

So how it is possible if UDP receives packets in unordered manner?

Is after receiving packets some sorting is done before sending to the AL?
0
sending packet in order and reviving packets in order are not the same. It may be possible that packets are taking different paths while traveling towards a destination and some packet of sequence x was late but packets x-1 and x+1 are already received so this will be dropped. UDP doesn't care about the retransmission.
0
@Mk Utkarsh

No,I am just asking that TL after receiving packets from source will it send packets to above layer AL in order for both TCP and UDP?(because in UDP it receives packet in unordered manner)

Please log in or register to answer this question.



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

39,513 questions
46,665 answers
139,712 comments
57,486 users