UVA ECE 136 - Flow control in TCP (9 pages)

Previewing pages 1, 2, 3 of 9 page document View the full content.
View Full Document

Flow control in TCP



Previewing pages 1, 2, 3 of actual document.

View the full content.
View Full Document
View Full Document

Flow control in TCP

36 views

Other


Pages:
9
School:
University Of Virginia
Course:
Ece 136 - Data Networks

Unformatted text preview:

Flow control in TCP End to end control across a path possibly passing through multiple networks internet transport protocol Flow Control How to prevent receiver buffer overflows Flow Control in TCP Window based flow control Called sliding window flow control Malathi Veeraraghavan Originals by J rg Liebeherr 1 TCP header fields related to flow control and error control Three fields of interest to error control and flow control in the TCP header The interpretation of the AckNo and Window size fields The sender of the TCP segment with the Ack Number field set to AckNo and Window size field set to Win is communicating to the far end that it is ready to receive new data with SeqNo AckNo AckNo 1 AckNo Win 1 Receiver can acknowledge data without opening the window Receiver can change the window size without acknowledging data Malathi Veeraraghavan Originals by J rg Liebeherr 2 TCP header fields Sequence Number Sequence Number SeqNo Sequence number is 32 bits long So the range of SeqNo is 0 SeqNo 232 1 4 3 Gbyte The sequence number identifies the byte in the stream of data from the sending TCP to the receiving TCP that the first byte of data in this segment represents Initial Sequence Number ISN of a connection is set during connection establishment Malathi Veeraraghavan Originals by J rg Liebeherr 3 Sliding Window Flow Control Sliding Window Protocol is performed at the byte level Advertised window 1 sent and acknowledged 2 3 4 sent but not acknowledged 5 6 7 can be sent USABLE WINDOW 8 9 10 11 can t send Here Sender can transmit sequence numbers 6 7 8 Malathi Veeraraghavan Originals by J rg Liebeherr 4 Sliding Window Window Closes Transmission of a single byte with SeqNo 6 and acknowledgement is received AckNo 5 Win 4 1 2 3 4 5 6 7 8 9 10 11 9 10 11 9 10 11 Transmit Byte 6 1 2 3 4 5 6 7 8 AckNo 5 Win 4 is received 1 Malathi Veeraraghavan Originals by J rg Liebeherr 2 3 4 5 6 7 8 5 Sliding Window Window Opens Acknowledgement is received that enlarges the window to the



View Full Document

Access the best Study Guides, Lecture Notes and Practice Exams

Loading Unlocking...
Login

Join to view Flow control in TCP and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Flow control in TCP and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?