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: 63% (11 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...
-
Will you install gas or electric kitchen equipment, or both? What factors will affect your decision?
-
exercise strong managerial problem-solving skills using SWOT analysis,
-
North Mark (NM) owns vast amounts of corporate bonds. Suppose that on June 30, 2012, NM buys $800,000 of CitiSide bonds at a price of 102. The CitiSide bonds pay cash interest at the annual rate of...
-
Suppose you are the money manager of a $4.72 million investment fund. The fund consists of four stocks with the following investments and betas: Stock Investment Beta A $ 560,000 1.50 B 400,000 (0.50...
-
Sanyu Sony started a new business and completed these transactions during December. December 1 Sanyu Sony transferred $68,700 cash from a personal savings account to a checking account in the name of...
-
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...
-
The owner of a van installs a rear-window lens that has a focal length of -0.300 m. When the owner looks out through the lens at a person standing directly behind the van, the person appears to be...
-
Sample for a Poll There are 30,488,983 Californians aged 18 or older. If The Gallup organization randomly selects 1068 adults without replacement, are the selections independent or dependent? If the...
-
Part A: You have successfully graduated Conestoga College and have joined a public accounting firm in their tax department. You have been assigned to work on a project with Emily Wilson, one of the...
-
Write a program that gets a list of integers from input, and outputs negative integers in descending order (highest to lowest). Ex: If the input is: 10 -7 4-39 -6 12 -2 the output is: -2-6-7-39 For...
-
The manager of a division that produces add-on products for the automobile industry had just been presented the opportunity to invest in two independent projects. The first is an air conditioner for...
-
4. We are interested in the effect on test scores of the student-teacher ratio (STR). The following regression results have been obtained using the California data set. All the regressions used...
-
Let b be a vector and n a unit vector. (a) Use the Levi-Civit`a symbol to prove that b = (b n) n + n (b n). (b) Interpret the decomposition in part (a) geometrically. (c) Let = a (b c) where...
-
The vapor pressure of the liquid NH, is measured at different temperatures. The following vapor pressure data are obtained. Temperature, K P, mmHg 217.1 223.4 234.7 588.1 Calculate the enthalpy of...
-
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.
-
During 2024, its first year of operations, Hollis Industries recorded sales of $11,900,000 and experienced returns of $760,000. Cost of goods sold totaled $7,140,000 (60% of sales). The company...
-
What is the value of a 15% coupon bond with 11% return? Is it a discount or a premium bond?
-
A manufacturer with a December 31 taxation year end sells new machinery for $50,000 on January 2, 2022. The cost of the machinery is $20,000. The terms of the sale require an initial payment of...
Study smarter with the SolutionInn App