








Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!









2
3
-^ 16-bit advertised window– Space remaining in
receive window
-^ 16-bit checksum– Uses IP checksum algorithm– Computed on
header, data, and pseudo-header
-^ 16-bit urgent data pointer– If URG = 1– Index of last byte of urgent data in segment
5
6
granularity
8
CLOSED LISTEN SYN_RCVD^
SYN_SENT ESTABLISHED
CLOSE_WAITLAST_ACK CLOSING TIME_WAIT FIN_WAIT_1FIN_WAIT_
Passive open^ Close
Send/SYNSYN/SYN + ACKSYN + ACK/ACK SYN/SYN + ACKACK Close/FIN
FIN/ACK Close/FINFIN/ACK
Timeout aftertwo segmentlifetimes FIN/ACK
ACK ACK
Active open/SYNClose Close/FIN ACK CLOSED
9
-^ Describe the path taken– By a server under normal conditions, and– By a client under normal conditions,– Assuming that the client closes the connection first•^ Consider the
at least one
side of a connection enters this state before returning to CLOSED– Explain how
both^ sides might enter this state
11
-^ Sender side^ – Green: sent and acknowledged– Red: sent (or can be sent) but not acknowledged– Blue: available but not within send window
time
LastByteAcked
LastByteSent
LastByteWritten
applicationTCP
Window
max buffer size
12
-^ Receiver side^ – Green: received and ready to be delivered– Red: received and buffered– Blue: received and discarded
time
NextByteRead
NextByteExpected
applicationTCP^ LastByteReceived Advertised window
max buffer size
14
-^ Flow control prevents
15
-^ Problem: