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

Show the subnetting process, Q. Show the Subnetting process? Subnettin...

Q. Show the Subnetting process? Subnetting (cont) Subnetting creates an intermediary level of hierarchy IP datagram routing then involves three steps: delivery t

Determine the subnet with subnet prefix, Consider a subnet with subnet pref...

Consider a subnet with subnet prefix 101.101.101/24  a)  If you subdivide the subnet into four equal size subnets, what are their prefixes? Give all four prefixes in the form a.

Database servers connected as a cluster to the main server, Database server...

Database servers connected as a cluster to the main server There could be three database servers connected as a cluster to the main server to provide better connectivity and se

What is the disadvantage of a star topology, What is the disadvantage of a ...

What is the disadvantage of a star topology? One major drawbacks of star topology is that once the central hub or switch get damaged, the whole network becomes unusable.

Describe essential security services, Problem: (a) Application Layer pr...

Problem: (a) Application Layer protocols can be classified as connection-oriented or connectionless-oriented. i. What do you understand by the term protocol? ii. Give an e

Data transfer - tcp connection management , Data Transfer After  conne...

Data Transfer After  connection  is established  bidirectional  data transfer  can take  place. The client  and  server  can both  send data  and acknowledgments. Figure  show

Dns cache poisoning, DNS cache poisoning The DNA cache poisoning gener...

DNS cache poisoning The DNA cache poisoning generally refers to the process of maintaining or developing the false information, in the cache of DNS server. This process refers

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