Write a program to simulate the sending-site FSMs for the Go-Back-N protocol (Figure 23.27). Figure 23.27 FSMS
Question:
Write a program to simulate the sending-site FSMs for the Go-Back-N protocol (Figure 23.27).
Transcribed Image Text:
Figure 23.27 FSMS for the Go-Back-N protocol Sender Note: All arithmetic equations are in modulo 2" Request from process came Make a packet (seqNo = S,). Store a copy and send the packet. Start the timer if it is not running. Sy = Sn +1. Time-out. Resend all outstanding packets. (S = Sy + Ssize)? Restart the timer. Window full Time-out Resend all outstanding packets. Restart the timer. [true] [false] Start -- Ready Blocking A corupted ACK or an error-free ACK with ackNo outside window arrived. Error free ACK with ackNo greater than or equal to Spand less than S arrived, A corrupted ACK or an cror-free ACK with ackNo less than Spor greater than or equal to S arrived, Slide window (S = ackNo). If ackNo equals S stop the timer. If ackNo < S. restart the timer. Discard it. Discard it. Receiver Note: Error-free packet with seq No = R, arrived. All arithmetic equations are in modulo 2m. Deliver message. Slide window (R, = R, + 1). Send ACK (ackNo = R,). %3D Error-free packet with seqNo + R, arrived. Discard packet. Send an ACK (ackNo = R). Start Ready Corrupted packet arived. Discard packet.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Answer rating: 60% (10 reviews)
The third program simulates the GoBackN protocol at the sender site It uses two sta...View the full answer
Answered By
Milan sojitra
I am believe in smart study rather then hard study or study for 6-7 hours. I completely focus on my work (learning or teaching ). Currently I'm pursuing my B.C. degree in computer engineering with 9.12 CPI. I completed Cisco certification and Oracal certification.
0.00
0 Reviews
10+ Question Solved
Related Book For
Question Posted:
Students also viewed these Computer science questions
-
Write a program to simulate the sending-site FSMs for the simple protocol (Figure 23.18). Figure 23.18 FSMS for the simple protocol Request came from application. Packet arrived. Make a packet and...
-
Write a program to simulate the sending-site FSMs for the Stop-and-Wait protocol (Figure 23.21). Figure 23.21 FSMS for the Stop-and-Wait protocol Sender Request came from application. Make a packet...
-
Write a program to simulate the sending-site FSMs for the Selective Repeat protocol (Figure 23.34). Figure 23.34 FSMS for SR protocol Sender Time-out. Resend all outstanding packets in window. Reset...
-
Prove the famous (your name) uncertainty principle, relating the uncertainty in position (A = x) to the uncertainty in energy For stationary states this doesnt tell you muchwhy not? (B = p/2m + V):
-
On January 4, 20Y6, Spandella Company purchased 175,000 shares of Filington Company directly from one of the founders for a price of $30 per share. Filington has 500,000 shares outstanding, including...
-
What is the basic structure of an ERP system? What are five key advantages and disadvantages of using an ERP system? What is the ERP implementation life cycle? What are the security issues and...
-
Carter Naumann is the owner of a Champion Chips Pty Ltd, which produces communication chips for mobile phones. The company has two production lines, one for a standard communication chip that is also...
-
Speedy Delivery Company purchases a delivery van for $ 36,000. Speedy estimates that at the end of its four-year service life, the van will be worth $ 6,400. During the four-year period, the company...
-
Different situation now. You re out in space, on a rotating wheel-shaped space station of radius 1085 m. You feel planted firmly on the floor , due to artificial gravity. The gravity you experience...
-
Cardinal Company is considering a five-year project that would require a $2,975,000 investment in equipment with a useful life of five years and no salvage value . The company's discount rate is 14%....
-
Can you explain why ICANN has divided the port numbers into three groups: well-known, registered, and dynamic?
-
Assume you need to write and test a client-server application program on two hosts you have at home. a. What is the range of port numbers you would choose for the client program? b. What is the range...
-
Which of these hormones is most likely to directly cause a drop in blood pressure? a. Aldosterone b. Antidiuretic hormone (ADH) c. Erythropoietin d. Atrial natriuretic hormone (ANH)
-
You learned that when red snapdragons are bred with white snapdragons, the offspring are pink snapdragonsan example of incomplete dominance. What happens when you breed a pink snapdragon with another...
-
From the point of view of natural selection, why is it important for an organism to survive?
-
True or False: If the real minimum attractive rate of return is 8%, inflation is 4%, the tax rate is 40%, and money can be borrowed at 12% annual compound interest, then the loan should be repaid...
-
Broad-spectrum antibiotics are effective against a wide variety of bacteria. Narrow-spectrum antibiotics are effective against only certain types of bacteria. Public health officials have suggested...
-
Listen to this, your friend says, reading from a newspaper article. Scientists believe that most genetic mutations have no effect on organisms, a small number have a disadvantageous effect, and an...
-
Prove that the expression for x(t) in Equation 15.55 is a solution to the equation of motion for a damped oscillator, Equation 15.54, if and only if the angular frequency is given by the expression...
-
Define deferred revenue. Why is it a liability?
-
Define the group of each of the following multicast addresses (local network control block, internetwork control block, SSM block, Glop block, or administratively scoped block): a. 224.0.1.7 b....
-
Change the following IP multicast addresses to Ethernet multicast addresses. How many of them specify the same Ethernet address? a. 224.18.72.8 b. 235.18.72.8 c. 237.18.6.88 d. 224.88.12.8
-
Can a host have more than one multicast address? Explain.
-
1. Define latent heat and how it is different than specific heat capacity. 2. Describe how a phase diagram changes when changing from a solid to a liquid. 3. Describe how work done is related to a...
-
In a large vaccination clinic, patients arrive at the rate of 50 per hour. The clinic is staffed with five nurses and it takes on average 6 minutes for a nurse to vaccinate a patient. Both patient...
-
Calculate the missing value. Beginning cash balance add : cash receipts Collection of notes receivable Proceeds from sale of securities collection from credit sales Total receipts Total available...
Study smarter with the SolutionInn App