Question

Suppose within your Web browser you click on a link to obtain a Web page. The...

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

Homework Answers

Answer #1

STOP AND WAIT PROTOCAL:   

sender sends the data and wait sometime for acknowledgment (ACK) and recevies ACK than ofther sends the reaming data

  • stop& wait protocal is slow
  • connection -oritented

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   

  • sender uses SEQUENCE NUMBER and ACK numbers   

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

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Suppose within your Web browser you click on a link to obtain a Web page. The...
Suppose within your Web browser you click on a link to obtain a Web page. The IP address for the associated URL is not cached in your local host, so a DNS lookup is necessary to obtain the IP address. Suppose that N DNS servers are visited before your host receives the IP address from DNS; the successive visits incur an RTT of RTT1, …, RTTN. Further suppose that the Web page associated with the link contains exactly one object,...
Suppose within your Web browser you click on a link to obtain a Web page. The...
Suppose within your Web browser you click on a link to obtain a Web page. The IP address for the associated URL is not cached in your local host, so a DNS lookup is necessary to obtain the IP address. Suppose that n DNS servers are visited before your host receives the IP address from DNS; the successive visits incur an RTT of RTT1, ... , RTTn. Further suppose that the Web page associated with the link contains exactly one...
Suppose there are 4 packets to be sent out at the sender. During the transmission, the...
Suppose there are 4 packets to be sent out at the sender. During the transmission, the second packet is lost. All other packets and ACKs are received correctly. We assume the packet transmission takes 2 minutes, the RTT is 20 minutes, the timer is 35 minutes. Draw a diagram to illustrate the packet and ACK transmission sequence and the specific time for each packet receiving and ACK receiving using (a) stop-and-wait protocol, (b) Go-back-N protocol with N=3. Note you need...