tcp - 1 TCP CSE 6590 Winter 2012 1 February 14, 2012 2 TCP...

Info iconThis preview shows pages 1–14. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 1 TCP CSE 6590 Winter 2012 1 February 14, 2012 2 TCP Services Flow control Connection establishment and termination Congestion control 2 3 TCP Services Transmission Control Protocol (RFC 793) connection oriented, reliable communication over reliable and unreliable (inter)networks two ways of labeling data: data stream push user requires transmission of all data up to push flag receiver will deliver in same manner avoids waiting for full buffers urgent data signal indicates urgent data is upcoming in stream user decides how to handle it 3 4 TCP Header 4 5 Issues ordered delivery, retransmission strategy, duplication detection, flow control, connection establishment & termination, crash recovery Note: since the underlying network is unreliable, segments may get lost segments may arrive out of order 5 6 Ordered Delivery segments may arrive out of order hence number segments sequentially TCP numbers each octet sequentially and segments are numbered by the first octet number in the segment 6 7 TCP Flow Control 7 8 Flow Control Fixed sliding window approach works well on reliable networks does not work well on unreliable networks such as IP internet Credit scheme more flexible works for IP used in TCP 8 9 Credit Scheme decouples flow control from ACK each octet has sequence number each transport segment has seq number (SN), ack number (AN) and window size (W) in header sends seq number of first octet in segment ACK includes (AN=i, W=j) which means all octets through SN=i-1 acknowledged, want i next permission to send additional window of W=j octets 9 10 Credit Allocation 10 11 Sending and Receiving Perspectives 11 12 Retransmission Strategy retransmission of segment needed because segment damaged in transit segment fails to arrive transmitter does not know of failure receiver must acknowledge successful receipt can use cumulative acknowledgement for efficiency sender times out waiting for ACK triggers re-transmission 12 13 Retransmit Policy TCP has a queue of segments transmitted but not...
View Full Document

Page1 / 42

tcp - 1 TCP CSE 6590 Winter 2012 1 February 14, 2012 2 TCP...

This preview shows document pages 1 - 14. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online