1-[6 pts] Compare the GBN, SR, and TCP protocols as approaches toward pipelined
ID: 3600176 • Letter: 1
Question
1-[6 pts] Compare the GBN, SR, and TCP protocols as approaches toward pipelined error recovery for reliable data transfer. Consider three packets are sent from a client to the server with sequence numbers 1, 2, and 3. Also, a connection is established prior to sending the first packet and there are no timers. If the first packet arrives successfully, what is the sequence number in the corresponding acknowledgment sent by the server if using: GBN? SR? TCP? Now consider the second packet is lost in transit to the server, but the third is received successfully What is the sqeuence number in the corresponding acknowledgment sent by the server if using: GBN? SR? TCPExplanation / Answer
“Go-Back-N Protocol and “Selective Repeat Protocol” are the sliding window protocols. The sliding window protocol is primarily an error control protocol, i.e. it is a method of error detection and error correction.If error rate is high, it wastes a lot of bandwidth.Receiver do not store the frames received after the damaged frame until the damaged frame is retransmitted.Go-Back-N ARQ is a more efficient use of a connection than Stop-and-wait ARQ, since unlike waiting for an acknowledgement for each packet, the connection is still being utilized as packets are being sent.
Selective Repeat is part of the automatic repeat-request (ARQ). With selective repeat, the sender sends a number of frames specified by a window size even without the need to wait for individual ACK from the receiver as in Go-Back-N ARQ.Retransmits only those frames that are suspected to lost or damaged.Receiver must be able to sort as it has to maintain the sequence of the frames.In most channel models with variable length messages, the probability of error-free reception diminishes in inverse proportion with increasing message length.
The Transmission Control Protocol (TCP) is one of the main protocols of the Internet protocol suite. It originated in the initial network implementation in which it complemented the Internet Protocol (IP).TCP is a connection-oriented protocol, which means a connection is established and maintained until the application programs at each end have finished exchanging messages. The TCP stack divides the file into packets, numbers them and then forwards them individually to the IP layer for delivery.TCP communication between two remote hosts is done by means of port numbers (TSAPs). Ports numbers can range from 0 – 65535 which are divided as:
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.