Reference no: EM132153428
The Trivial File Transfer Protocol (TFTP, RFC 1350) is an application layer protocol that uses the Stop-and-Wait protocol. To transfer a file from a server to a client, the server breaks the file into blocks of 512 bytes and sends these blocks to the client using Stop-and-Wait ARQ.
Assume that the transmission time of one block is 2ms, and that of an acknowledgment is 2ms. Assume also that the sender uses a timeout value of 5ms.
Show the pattern of transmissions and associated state transitions for the following sequence of events: the server transmits 5 blocks If your student ID is EVEN, hen the 2^nd block is lost and the acknowledgment of the 4^th block (not counting any resubmission) is lost. If your student ID is ODD, then the 1st block is lost, and the acknowledgment of the 3rd block (not counting any resubmission) is lost.
Draw the flow control in the chart provided in the following page.
Describe in details how the sender and the receiver will behave. Your graphs must show the sliding windows, the sequence number of the frames, and any special action performed by the sender of the receiver (e.g., Discard the frame, initiate a timer, time outs ...) as we have shown in the slides.
What will happen if the sender uses longer time out duration, let say 8ms?