Iten06c - Midterm
Iten06c - Midterm
SESSION TERMINATION
Step 1: When the client has no more data to send in
the stream, it sends a segment with the FIN flag set.
Step 2: The server sends an ACK to acknowledge the
receipt of the FIN to terminate the session from
client to server.
Step 3: The server sends a FIN to the client to
terminate the server-to-client session. 14.6 RELIABILITY AND FLOW CONTROL
Step 4: The client responds with an ACK to TCP RELIABILTIY – GUARANTEED AND ORDERED
acknowledge the FIN from the server. DELIVERY
• TCP can also help maintain the flow of
packets so that devices do not become
overloaded.
• There may be times when TCP segments do TCP FLOW CONTROL – WINDOW SIZE AND
not arrive at their destination or arrive out of ACKNOWLEDGEMENTS
order. TCP also provides mechanisms for flow control as
• All the data must be received and the data in follows:
these segments must be reassembled into • Flow control is the amount of data that the
the original order. destination can receive and process reliably.
• Sequence numbers are assigned in the • Flow control helps maintain the reliability of
header of each packet to achieve this goal. TCP transmission by adjusting the rate of
data flow between source and destination
for a given session.
GOODLUCK!!