Invitation to Computer Science 8th Edition

Published by Cengage Learning
ISBN 10: 1337561916
ISBN 13: 978-1-33756-191-4

Chapter 7 - 7.3 - Communication Protocols - Practice Problems - Page 362: 3

Answer

B should disassemble $\mathrm{M}(5)$ and check that it was correctly transmitted. If so, B should send an $\mathrm{ACK}(5)$ message to $\mathrm{A} ;$ if not, $\mathrm{B}$ should discard the faulty message and wait for $\mathrm{A}$ to resend it. Although this message has been received out of sequence (presumably, because $\mathrm{M}(4)$ was lost) no special action is required at this time; $\mathrm{B}$ did not send a $\mathrm{ACK}(4)$ so $\mathrm{A}$ should in time resend $\mathrm{M}(4) .$

Work Step by Step

B should disassemble $\mathrm{M}(5)$ and check that it was correctly transmitted. If so, B should send an $\mathrm{ACK}(5)$ message to $\mathrm{A} ;$ if not, $\mathrm{B}$ should discard the faulty message and wait for $\mathrm{A}$ to resend it. Although this message has been received out of sequence (presumably, because $\mathrm{M}(4)$ was lost) no special action is required at this time; $\mathrm{B}$ did not send a $\mathrm{ACK}(4)$ so $\mathrm{A}$ should in time resend $\mathrm{M}(4) .$
Update this answer!

You can help us out by revising, improving and updating this answer.

Update this answer

After you claim an answer you’ll have 24 hours to send in a draft. An editor will review the submission and either publish your submission or provide feedback.