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...
-
Shares of Pitney Bowes dropped 10 percent after it announced earnings per share from continuing operations of $0.70 for its September quarter of 1999, up from $0.49 in the same quarter in the year...
-
Sun West Media Corporation had the following income statement and balance sheet for 2009 : Compute tor Sun West during 2009: a. Acquisition ol equipment. Sun West sold no equipment during the year....
-
Schrager Manufacturing Company has two production departments: Cutting and Assembly. July 1 inventories are Raw Materials $4,930, Work in Process-Cutting $3,670, Work in Process-Assembly $11,110, and...
-
Consider a bank where loan applications are first handled by a credit analyst, and then by a loan officer. The credit analyst takes32 minutes for each application, and the loan officer takes6minutes...
-
At the age of 25, Tasha Fellows obtained her university degree and entered the workforce. She sought the opinion of an investment advisor regarding a tax-free savings account (TFSA). The main...
-
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...
-
Given the following probabilities that the null hypothesis is true, determine whether to reject the null hypothesis or fail to reject the null hypothesis: 1. p <5.8%. 2. p < 0.7% 3. p < 0.15% 4. p <...
-
Based on the concepts in the Brett, Behfar, and Kern (2006) article, identify and describe a situation where you experienced one of the four barriers. Describe what you did to address the barrier and...
-
What are the advantages/disadvantages of Strategic Alliances?
-
Does the Walmart HR department have a central/key role in creating the workforce?
-
Rearrage the equation to isolate a . ( a + b / c ) ( d - e ) = f
-
Actual and estimated data for manufacturing overhead, direct labor cost, direct labor hours, and machine hours for the most recent fiscal year are summarized here: Direct labor cost Manufacturing...
-
Find the functions (a) f g, (b) gf, (c) ff, and (d) gg and their domains. f(x) = sin x, g(x) = x 2 + 1
-
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.
-
9.- If in a process cost system the unit cost of the finished units is $2.500 What is the cost of units in process if the progress with respect to the cost elements is 85% ? 10.- The Real CIF is...
-
On December 1, 2022, Bramble Company had the account balances shown below. Debit Credit Cash $5,300 Accumulated Depreciation-Equipment $1,200 Accounts Receivable 3,800 Accounts Payable 3,000...
-
What are the differences between conventional mortgages and government-backed mortgages (such as FHA, VA, and USDA loans), and how do these distinctions impact borrower eligibility, down payment...
Study smarter with the SolutionInn App