Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
Tentamen (uitwerkingen)

ECE/CS 438: Homework 2: Transport Layer, TCP, UDP University of Illinois, Urbana Champaign CS 438

Beoordeling
-
Verkocht
-
Pagina's
2
Cijfer
A+
Geüpload op
17-02-2023
Geschreven in
2022/2023

ECE/CS 438: Homework 2: Transport Layer, TCP, UDP Fall 2015, UIUC (I) Write True/False with a brief justification (around 1 sentence): (a) The TCP ACKs consume bandwidth. It would be better if the TCP receiver sends NACKs upon receiving out of order (or corrupted) packets. (b) Assume TCP is in the Slow Start phase, with SSThreshold as 32. At some time instant, the congestion window is 16. When the congestion window increases the next time, it will become 32. (c) A TCP socket creates an end to end connection between two devices. (d) The TCP sender has packets 20 to 30 in its congestion window (CW), all waiting for ACKs, when a timeout occurs. The sender will cut down CW to 1 and will gradually retransmit each of these packets. (e) Consider the case where a TCP sender transmits a file to a TCP receiver. A system administrator tells you that during this transfer, no timeout or dupACKs were recorded. In that case, the congestion window during the transfer should have never decreased (i.e., it should either remain same or increase). (h) The lower end of the TCP transmitters window is never greater than the lower end of the TCP receiver’s window. (i) TCP can cope with any amount of losses, and hence, TCP should work without modifications on lossy wireless networks. (j) The selective repeat receiver need not send an ACK if the received packet is less than its lower end of the (current) receive window. (II) Answer the following questions on TCP – refer to Figure 1. Assume slow start, unless otherwise mentioned. Copy the timelines in your answer-sheet and work on them: (a) In Figure 1(a), what are the values of CW at times t1, t2, t3? How should the TCP transmitter react after receiving A3 and A2. (b) In Figure 1(b), assume TCP starts from CW=1. What should CW be at times t1 and t2? How should the TCP transmitter react after the timeout? How should the TCP transmitter react when each of the the last two ACKs (shown in the figure) arrive? (c) In Figure 1(c), what should CW be at time t1? How should the TCP transmitter react upon receiving A13? (d) In Figure 1(d), what should the CW be at times t1, t2, t3, and t4? How should the TCP transmitter react upon receiving each of the four ACKs? (e) In Figure 1(e), say that the first ACK that is shown to arrive at the TCP transmitter is A5. What should the CW be at times t1 and t2? How should the TCP transmitter react upon receiving A5, when the timeout occurs, and upon receiving the last shown ACK (just before t2)? (f) In Figure 1(f), LIT is the acronym for linear increase threshold. What should the values of CW be at times t1, t2, t3, and t4? How should t

Meer zien Lees minder
Instelling
Vak

Voorbeeld van de inhoud

ECE/CS 438: Homework 2: Transport Layer, TCP, UDP
Fall 2015, UIUC

(I) Write True/False with a brief justification (around 1 sentence):
(a) The TCP ACKs consume bandwidth. It would be better if the TCP receiver sends NACKs upon receiving
out of order (or corrupted) packets.

(b) Assume TCP is in the Slow Start phase, with SSThreshold as 32. At some time instant, the congestion
window is 16. When the congestion window increases the next time, it will become 32.

(c) A TCP socket creates an end to end connection between two devices.

(d) The TCP sender has packets 20 to 30 in its congestion window (CW), all waiting for ACKs, when a time-
out occurs. The sender will cut down CW to 1 and will gradually retransmit each of these packets.

(e) Consider the case where a TCP sender transmits a file to a TCP receiver. A system administrator tells you
that during this transfer, no timeout or dupACKs were recorded. In that case, the congestion window during
the transfer should have never decreased (i.e., it should either remain same or increase).

(h) The lower end of the TCP transmitters window is never greater than the lower end of the TCP receiver’s
window.

(i) TCP can cope with any amount of losses, and hence, TCP should work without modifications on lossy
wireless networks.

(j) The selective repeat receiver need not send an ACK if the received packet is less than its lower end of the
(current) receive window.



(II) Answer the following questions on TCP – refer to Figure 1. Assume slow start, unless otherwise
mentioned. Copy the timelines in your answer-sheet and work on them:
(a) In Figure 1(a), what are the values of CW at times t1, t2, t3? How should the TCP transmitter react after
receiving A3 and A2.

(b) In Figure 1(b), assume TCP starts from CW=1. What should CW be at times t1 and t2? How should the
TCP transmitter react after the timeout? How should the TCP transmitter react when each of the the last
two ACKs (shown in the figure) arrive?

(c) In Figure 1(c), what should CW be at time t1? How should the TCP transmitter react upon receiving A13?

(d) In Figure 1(d), what should the CW be at times t1, t2, t3, and t4? How should the TCP transmitter react
upon receiving each of the four ACKs?

(e) In Figure 1(e), say that the first ACK that is shown to arrive at the TCP transmitter is A5. What should
the CW be at times t1 and t2? How should the TCP transmitter react upon receiving A5, when the timeout
occurs, and upon receiving the last shown ACK (just before t2)?

(f) In Figure 1(f), LIT is the acronym for linear increase threshold. What should the values of CW be at times
t1, t2, t3, and t4? How should the TCP transmitter react upon receiving each of the ACKs?


1
This study source was downloaded by 100000850872992 from CourseHero.com on 02-17-2023 14:34:49 GMT -06:00


https://www.coursehero.com/file/12479465/hw-tcp/

Geschreven voor

Vak

Documentinformatie

Geüpload op
17 februari 2023
Aantal pagina's
2
Geschreven in
2022/2023
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

$8.49
Krijg toegang tot het volledige document:

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF

Maak kennis met de verkoper

Seller avatar
De reputatie van een verkoper is gebaseerd op het aantal documenten dat iemand tegen betaling verkocht heeft en de beoordelingen die voor die items ontvangen zijn. Er zijn drie niveau’s te onderscheiden: brons, zilver en goud. Hoe beter de reputatie, hoe meer de kwaliteit van zijn of haar werk te vertrouwen is.
Themanehoppe American Intercontinental University Online
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
347
Lid sinds
4 jaar
Aantal volgers
224
Documenten
3784
Laatst verkocht
6 dagen geleden

3.5

55 beoordelingen

5
25
4
7
3
7
2
3
1
13

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen