Time out - transport layer, Computer Networking

Assignment Help:

Time  out

Timers  are used to protect  against  lost packet. Each  packet  must have its own logical  timers since  only  a single  packet  will be retransmitted  after timeout. A single  hardware timer can be used to mimic  the function of  multiple logical  timers.

The SR receiver  will  acknowledge  a correctly received packet whether or not it is  in order. Out of order packets  are buffered  until any missing packets ( that  is packets with lower  sequence numbers) are received. The  various actions  taken by the SR receiver.

Packet  with  sequence  number in ( rev base re base + N- 1) is correctly received. In  this case  the received packet falls within the  receiver window  and a selective ACK  packet  is returned  to the  sender.

If  the packet was not  previously  received it  is buffered. If this  packet  has a sequence number  equal to the base of the  window  then this  packet  and any  previously  buffered  and consecutively numbered packets are delivered to the receiver. The  receiver window is them moved  forward  by the number of packets  delivered to the receiver as in figure when a packet  with a  sequence number of 2 is  received  then packets 3, 4 and 5 can  be delivered to the receiver.

Packet with  sequence  number in  ( rev base n rev base-1)  is received. In  this case an ACK  must be  generated this is the packet  which  the receiver has previously  acknowledge.

Otherwise ignores the  packets.

To understand  the functions of SR protocols  lets  take an example  of a window  size of  four packets. The sender  can sends  packets 0 to 3. If  first  packet pkt 0 is  lost  and pkt 1 , 2   and 3 are received by the  receiver instead of discarding these  packets  the receiver  buffers  the packets  and send  the ACK  for the  packets  respectively. After the  time out  of pkt 0 the sender  can retransmit this  lost  packet  pkt 0 if  the receiver receives the lost  packet  pkt 0  then the  receiver deliver all the  packets  which  was kept  buffered  by the  receiver previously.


Related Discussions:- Time out - transport layer

What is the protocol number for tcp, Transmission Control Protocol - TCP i...

Transmission Control Protocol - TCP is a connection oriented transport layer protocol with built unreliability. It considers a large block of data and breaks it down into segments

Butterfly permutation, Butterfly permutation This permutation is gettin...

Butterfly permutation This permutation is getting by interchanging the important significant bit in address with smallest significant bit.

Network performance measured by delay and throughput, Q. Network performanc...

Q. Network performance measured by delay and throughput ? delay versus load Delay is composed of? Throughput v/s network load

Focus of reliability control, Q. Focus of Reliability Control? - Implem...

Q. Focus of Reliability Control? - Implementation of the OSI model puts emphasis on providing a reliable data transfer service while the TCP/IP model treats reliability as an e

Explain full duplex data transmission, Q. Explain Full Duplex data transmis...

Q. Explain Full Duplex data transmission? - Have two separate Communication channels as well as use each one for simplex Data traffic (in different directions). - If this is

Sequence number - transport layer, Sequence Number After  the bytes...

Sequence Number After  the bytes have been numbered TCP assigns a sequence number to each segment   that is  being sent. These sequence number for each segment  is the numb

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd