Database System Concepts
Database System Concepts
7th Edition
ISBN: 9780078022159
Author: Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher: McGraw-Hill Education
Bartleby Related Questions Icon

Related questions

Question
The following figure shows a TCP transaction. Assume Host A always has data to send, and each packet has size 20 Bytes. Assume Host A has a sending window of 40 Bytes, that is, it can send two “in-flight” packets maximum. Answer the following questions. 

A. At the time marked “1”, i.e., when the first packet times out, will Host A send any packet? If your answer is no, explain why not; if your answer is yes, how many packets will be sent, what are the sequence numbers of them?

B. At the time marked “2”, i.e., when the ACK of the 2ⁿᵈ packet is received by Host A, will Host A send any packet? If your answer is no, explain why not; if your answer is yes, how many packets will be sent, what are the sequence numbers of them?

### Diagram Description

The diagram illustrates a TCP transaction between two hosts: Host A and Host B. 

- Host A sends two packets to Host B:
  - The first packet has the sequence number 80 and contains 20 bytes of data.
  - The second packet has the sequence number 100 and also contains 20 bytes of data.

- A timeout occurs, marked as "1" in red, which means that the first packet did not receive an acknowledgment (ACK) within the expected time.

- The second packet is successfully received by Host B, and an ACK is sent back to Host A, marked as "2" in red.

- The diagram includes a red "X" indicating a lost packet or communication failure for the packet with sequence number 80.

Overall, the diagram is used to explain when Host A will decide to resend packets or send new packets based on the ACKs and timeouts it experiences during the TCP transaction.
expand button
Transcribed Image Text:The following figure shows a TCP transaction. Assume Host A always has data to send, and each packet has size 20 Bytes. Assume Host A has a sending window of 40 Bytes, that is, it can send two “in-flight” packets maximum. Answer the following questions. A. At the time marked “1”, i.e., when the first packet times out, will Host A send any packet? If your answer is no, explain why not; if your answer is yes, how many packets will be sent, what are the sequence numbers of them? B. At the time marked “2”, i.e., when the ACK of the 2ⁿᵈ packet is received by Host A, will Host A send any packet? If your answer is no, explain why not; if your answer is yes, how many packets will be sent, what are the sequence numbers of them? ### Diagram Description The diagram illustrates a TCP transaction between two hosts: Host A and Host B. - Host A sends two packets to Host B: - The first packet has the sequence number 80 and contains 20 bytes of data. - The second packet has the sequence number 100 and also contains 20 bytes of data. - A timeout occurs, marked as "1" in red, which means that the first packet did not receive an acknowledgment (ACK) within the expected time. - The second packet is successfully received by Host B, and an ACK is sent back to Host A, marked as "2" in red. - The diagram includes a red "X" indicating a lost packet or communication failure for the packet with sequence number 80. Overall, the diagram is used to explain when Host A will decide to resend packets or send new packets based on the ACKs and timeouts it experiences during the TCP transaction.
Expert Solution
Check Mark
Knowledge Booster
Background pattern image
Computer Science
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Text book image
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Text book image
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
Text book image
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Text book image
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education