Suppose within your Web browser you click on a link to obtain a Web page. The Stop-and Wait Protocol is being used to send three data characters ‘U’, ‘S’, and ‘A’, with each character in a separate packet. Suppose the channel causes every alternate data packet to be received with errors, starting with the first packet. This means the 1st, 3rd, 5th, etc. data packets are received with errors, while the 2nd, 4th, 6th, etc. data packets are received correctly. All ACKs are received correctly.
Draw a timing diagram that shows all the data packets and ACKs
that are transmitted. Clearly label the data packets with sequence
numbers, show the data characters included in each packet, and
label the ACKs with their sequence numbers. Show when the receiver
delivers each data character to the user and which packets are
detected as duplicates. You should show all transmissions until all
three characters are received at the receiver and they have been
properly
ACKed to the send
STOP AND WAIT PROTOCAL:
sender sends the data and wait sometime for acknowledgment (ACK) and recevies ACK than ofther sends the reaming data
STOP AND WAIT ARQ ( AUTOMATIC REAPT REQUEST)
important point: sender sends the data and waits for timer after timer to get ACK or no ACK recived again sender retransmits the data
above example 3 data packets 'U' ,'S', 'A' clearly explain steps above example timing diagram
step 1: first data packet 'U' send the sender to receiver STOP AND WAIT ARQ sets the timer when time out recives the ACK otherwise again sends the data 'U'
after recevies ACK with SEQUENCE NUMBER ,AND ACK NUMBER than again
step 2: sender sends second data packet 'S' recivers recevies the ACK within timer time
step 3: sender sends third packet 'A' and receiver recevies the ACK within timer time
incase any error or alternate packets to receives the receiver easy to understand ACK NUMBER,and SEQUENCE NUMBER
important point: in every data packet contains unique ACK numbers and SEQUENCE numbers so no confusing the tramission prosess of data packets
i kindly requesting upvote rating my answer and clearly explain steps wise in above example 100 % correct my answer
Get Answers For Free
Most questions answered within 1 hours.