Time out - transport layer, Computer Networking

Time out

The  protocols  name Go Back  N is  derived  from the  sender behaviour in the  presence  of lost or  overly  delayed packets. A timer will again  be used  to recover  from  lost data  or acknowledgment packets  acknowledgment packets  if a timeout occurs the sender  resends  all packets that have been previously  sent but  that have  not yet been acknowledged. Our sender in figure sues only a single timer. Which can be thought  of as timer  for the oldest  transmitted but not  yet acknowledged  packet. If an ACK is received but there are still additional transmitted but not yet acknowledgment  packets  teh  timer is restarted. If  there  are no  outstanding  unacknowledged  packets the timer is stopped.

2477_Time out.PNG

                                                       figure Extended FSM description of GBN Sender

2320_Time out2.PNG

                                                            figure Extends FSM description of GBN receiver

 

The receiver action in GBN are also  simple. If a packet  with  sequence number n is received  correctly and is in order  the receiver sends an ACK for packet n  and  delivers the data portion of the packet to the upper layer. In  all other  cases the receiver discards the packet and resends an ACK  for the  most  recently received in order packet. Not  that since  packets are delivered one at a time to the upper layer if packet k has been  received an delivered, then  all packets with a sequence number lower than k have also  been delivered. Thus  the use  of cumulative  acknowledgments  is a natural  choice  for GBN.

In our GBN  protocols  the receiver discards out of order packets. Suppose that  packet  n is expected but  packet n +1  arrives. Because data  must be  delivered in order the receiver could  buffer packet n+1 and then  deliver this  packet to the upper layer after it  had later received and delivered packet. However  if packet  n is  lost  both n and packet n+1  will eventually  be retransmitted as  a result  of the GBN retransmission  rule at  the sender. Thus  the receiver  can simply  discard packet n+1.

Let  takes an example  to explain  the function of the GBN protocols  for the  case of a window  size of 4 packet. The  sender can sends  packets 0 to 3 but then  must wait for  one or more  of these  packets  to be acknowledged before  processing. As each  successive ACK for eg ACK  is received  the window  slides forward and the sender can transmit one new packet pkt. On the receiver side packet is lost  and thus packets 2,3, and 4 are found  t be out of order and are discarded  by it. After the timeout  of packet 2 the sender  can send the same packet which is lost. When  the lost packet is received by the receiver and receiver sends the acknowledgment back to the sender then the other  discarded packets pkt 2,3, and 4 will be delivered to the receiver .

Posted Date: 3/12/2013 12:01:18 AM | Location : United States







Related Discussions:- Time out - transport layer, Assignment Help, Ask Question on Time out - transport layer, Get Answer, Expert's Help, Time out - transport layer Discussions

Write discussion on Time out - transport layer
Your posts are moderated
Related Questions
Sonet Frame Transaction Transmitted one subsequent to another without any gap in between. First 2 bytes - alignment bytes. F628 in Hex. - define the beginning of every

Q. Describe the Hardware complexity of Benz Network? Hardware complexity of Benz Network:  Benz network employs lesser switches and it gives good connectivity. To come across h

Perform Basic Switch Configurations Step 1: Cable a network that is similar to the one in the topology diagram.  You can use any current switch in your lab as long as it has

What is Protocol Data Unit? The data unit in the LLC level is known as the protocol data unit (PDU). The PDU having of four fields a destination service access point (DSAP), a

Network Service Model The network  service  model  defines  the characteristics of end to end  transport of data between  one edge of the  network  to the  other  that is betwe

What are the disadvantages of Star Topology? The disadvantages are considered as follows: a. Needs more cable than most topologies. b. Moderately complex to install.

Advantages of VPNs Advantages discussed in the following  section include those related to security. Consolidation transparency cost. And administration. a. Improved secur

Question: a) Outline the concept of the Real Time Gross Settlement (RTGS) system in Mauritius and name the three main system components of the MACSS. b) Differentiate bet

What are some drawbacks of implementing a ring topology? In case one workstation on the network varies a malfunction, it can bring down the whole network. Another drawback is t

QUESTION 1: (a) Define what you understand by the following terms in Network Flows: i) UnDirected Path ii) Directed Path iii) Directed Cycle. iv) Tree In each of the abov