Please solve it correctly and please provide explanation of your answers. Please answer parts g, h and i. A PC and a Web Server are communicating over a TCP connection. The PC had started the three way handshake with the initial sequence number of 3069 . The Web Server's initial sequence number is 4830 . The window size of the PC is 815 bytes and the window size of the Web Server is 463 bytes. Using the third TCP handshake ack segment the PC sends the http request of the size 396 bytes to the Web Server. Then the Web Server answers with 3 segments containing the requested data. The first segment size is 42 bytes and the second segment size is 276 bytes and the third segment size is 146 bytes respectively. The PC receives all three segments within the timer. But unfortunately the second segment was corrupted. So the PC immediately sends an acknowledgement segment. Assume that the PC uses Selective Repeat/Reject ARQ.   g) The second segment from webserver was corrupted. So the PC immediately sends an acknowledgement segment to server. What is the rwnd size of this ack segment from the PC to the Web Server? h) Now the Web Server resends the segment/s and the PC receives them. The PC is able to process only the first segment and is able to send them to the upper application layer. After sending them the PC sends a cumulative acknowledge to the to the Web Server. What is the size of the data segment which is resend from webserver?   (a) What will be the sequence number of the third TCP handshake signal send from PC to webserver? Ans: 3070 (b) What will be the sequence number of the ack segment sent by the PC to webserver after receiving three segments? Ans: 3070 (c) What will be the ack number of the ack segment sent by the PC to webserver after receiving three segments? Ans: 4873 (d) What will be the window size of PC A after receiving only the first segment from webserver?  Ans: 773 bytes (e) What will be the window size of Webserver after receiving HTTP request from PC? Ans: 67 bytes (f) What will be the sequence number of the segment sent by the webserver which was corrupted? Ans: 4873 (g) The second segment from webserver was corrupted. So the PC immediately sends an acknowledgement segment to server. What is the rwnd size of this ack segment from the PC to the Web Server? (h) Now the Web Server resends the segment/s and the PC receives them. The PC is able to process only the first segment and is able to send them to the upper application layer. After sending them the PC sends a cumulative acknowledge to the to the Web Server. What is the size of the data segment which is resend from webserver? (i) What is the cumulative acknowledgement number send by PC after it gets all the three segments correctly and what is the rwnd size of this ack??

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
icon
Concept explainers
Question

Please solve it correctly and please provide explanation of your answers.

Please answer parts g, h and i.

A PC and a Web Server are communicating over a TCP connection. The PC had started the three way handshake with the initial sequence number of 3069 . The Web Server's initial sequence number is 4830 . The window size of the PC is 815 bytes and the window size of the Web Server is 463 bytes. Using the third TCP handshake ack segment the PC sends the http request of the size 396 bytes to the Web Server. Then the Web Server answers with 3 segments containing the requested data. The first segment size is 42 bytes and the second segment size is 276 bytes and the third segment size is 146 bytes respectively. The PC receives all three segments within the timer. But unfortunately the second segment was corrupted. So the PC immediately sends an acknowledgement segment. Assume that the PC uses Selective Repeat/Reject ARQ.

 

g) The second segment from webserver was corrupted. So the PC immediately sends an acknowledgement segment to server. What is the rwnd size of this ack segment from the PC to the Web Server?

h) Now the Web Server resends the segment/s and the PC receives them. The PC is able to process only the first segment and is able to send them to the upper application layer. After sending them the PC sends a cumulative acknowledge to the to the Web Server. What is the size of the data segment which is resend from webserver?

 

(a) What will be the sequence number of the third TCP handshake signal send from PC to webserver? Ans: 3070

(b) What will be the sequence number of the ack segment sent by the PC to webserver after receiving three segments? Ans: 3070

(c) What will be the ack number of the ack segment sent by the PC to webserver after receiving three segments? Ans: 4873

(d) What will be the window size of PC A after receiving only the first segment from webserver?  Ans: 773 bytes

(e) What will be the window size of Webserver after receiving HTTP request from PC? Ans: 67 bytes

(f) What will be the sequence number of the segment sent by the webserver which was corrupted? Ans: 4873

(g) The second segment from webserver was corrupted. So the PC immediately sends an acknowledgement segment to server. What is the rwnd size of this ack segment from the PC to the Web Server?

(h) Now the Web Server resends the segment/s and the PC receives them. The PC is able to process only the first segment and is able to send them to the upper application layer. After sending them the PC sends a cumulative acknowledge to the to the Web Server. What is the size of the data segment which is resend from webserver?

(i) What is the cumulative acknowledgement number send by PC after it gets all the three segments correctly and what is the rwnd size of this ack??

 

Expert Solution
steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Networking model
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
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education