Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Hello This question is related to network field please I need to answer it witho

ID: 3707939 • Letter: H

Question

Hello

This question is related to network field

please I need to answer it without handwriting

Thank you

a. Stop-and-Wait Protocol b. Go-Back-N Protocol. c. Selective-Repeat Protocol. Above are the Protocols for Transport Layer. In the table below, please explain how the above protocol s work in terms of: Window size of Sender and Receiver, and how the protocols actually work Is there going to be out of order packets? If yes, how will they be handled? . Timer What does an Acknowledgment number (ackNo) announce? Mention an example.

Explanation / Answer

OK so let us first start with the window size of sender and receiver.

So in Stop and wait method there is no concept of sliding window and receiving window.

the packets are sent one by one and an acknowledgement is received. if the ACK is not received within the timer period then the packets are resent. Here a copy of sent packets are stored which will be further used if there is no ACK received.

Now in Go Back N there is a concept of sliding window and a receiving window which will help to send multiple data simultaneously.

So there are two windows , one is sliding window and other is receiving window.

The size of the sliding window is 2m-1 if we want to send m data.

And the size of receiving window is 1. As the receiver is expecting only one data at a time and if the data is out of order then it will be discarded.

Now we will se the out of order packets.

Yes in both of the protocols there will be an issue of out of order packets. And these are handled by using ACK to resend the data bit if the data is lost or corrupt.

Now about Timer , Timer is used in all the three protocols to resend the data packets. if the data is lost and the ACK is not received at time then the sender will resend the data.

ACK in both the protocols define that the packets are recieved or not and if the packets are out of order then the reciever sends a NACK(Negative ACK) which tells that which packet is out of order and which is needed to be resent.

So this is how the protocols works. If you want any further help regarding this question then feel free to ask in the comment section.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote