Transcription of TCP Flow Control and Congestion Control
{{id}} {{{paragraph}}}
1 Mao W07 TCP Flow Control and Congestion ControlEECS 489 Computer Morley MaoMonday Feb 5, 2007 Acknowledgement: Some slides taken from Kurose&Ross and Katz&Stoica2 Mao W07 TCP Flow Control receive side of TCP connection has a receive buffer: speed-matching service: matching the send rate to the receiving app s drain rateapp process may be slow at reading from buffersender won t overflowreceiver s buffer bytransmitting too much,too fastflow control3 Mao W07 TCP Flow Control : how it works(Suppose TCP receiver discards out-of-order segments) spare room in buffer= RcvWindow= RcvBuffer-[LastByteRcvd -LastByteRead] Rcvr advertises spare room by including value of RcvWindowin segments Sender limits unACKed data to RcvWindow- guarantees receive buffer doesn t overflow4 Mao W07 TCP Connection ManagementRecall:TCP sender, receiver establish connection before exchanging data segments initialize TCP variables:- seq.
TCP Connection Management Recall: TCP sender, receiver establish “connection” before exchanging data segments initialize TCP variables: - seq. #s - buffers, flow control info (e.g. RcvWindow) client: connection initiator Socket clientSocket = new Socket("hostname","port number"); server: contacted by client Socket connectionSocket =
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document:
{{id}} {{{paragraph}}}