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...
-
Find the 8-bit data stream for each case depicted in Figure 4.36. Time a. NRZ-I Time b. differential Manchester
-
Use technology to find the regression line to predict $Y$ from $X$. $X$ 2 4 6 8 10 12 $Y$ 50 58 55 61 69 68
-
An object with mass 0.200 kg is acted on by an elastic restoring force with force constant 10.0 N/m. (a) Graph elastic potential energy U as a function of displacement x over a range of x from -...
-
Pauley Company needs to determine a markup for a new product. Pauley expects to sell 35,000 units and wants a target profit of $22 per unit. Additional information is as follows: Variable product...
-
Files and More, Inc. (F&M), a manufacturer of office equipment, uses MRP to schedule its production. Because of the current recession and the need to cut costs, F&M has targeted inventory as a prime...
-
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...
-
Find f'(a). (a) f(x) = 3x2 - 4x + 1 (b) f(t) = 2t + 1/t + 3 (c) f(x) = 1 - 2x
-
Evaluate each Boolean expression as true or false. Show intermediate steps. Assume int num1 = 5, int num2 \(=-2\), int num3 \(=0\), boolean flag1 = true, and boolean flag2 = false. *A. numl> num2 ||...
-
Define the Heptagon class as a subclass of RegPolygon class.
-
Determine the output from the following code segment: int sum = 2; int number = 3; do { sum = sum + number; number++; System.out.println("sum " + sum) ; System.out.println ("number = " + number); }...
-
Modify the previous program to ask a user for a name of his or her organization and print an abbreviation of the name. Realize that the name of the organization consists of any number of words.
-
Given the following Java program, what will be output to the screen? Be sure to line everything up properly. Use an underscore to represent a blank and the words blank line to represent a blank line:...
-
What is a decile?
-
Troy is a qualified radiologist who operates a successful radiology practice from purpose- built rooms attached to his house. Troy works in the practice three days a week, and the other two days he...
-
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.
-
You are a team of HSIM directors for Peace Pirate Hospital and Dr. Collins, the emergency department (ED) chair, has asked for a documentation audit of ED records. As the HSIM directors, you conduct...
-
The applied behavioural science of employee interactions and organizational processes within a business or work environment. Discuss?
-
Prepare a short report for David on the financial analysis completed. Your report should include: The results of your analysis Your recommendation based on the required rate of return, if the...
Study smarter with the SolutionInn App