PDF4PRO ⚡AMP

Modern search engine that looking for books and documents around the web

Example: barber

TCP Flow Control and Congestion Control

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. #s- buffers, flow Control info ( RcvWindow) client:connection initiatorSocket clientSocket = new Socket("hostname","port number"); server:contacted by clientSocket connectionSocket = ();Three way handshake:Step 1:client host sends TCP SYN segment to server- specifies initial seq #- no dataStep 2:server host receives SYN, replies with SYNACK segment- server allocates buffers- specifies server initial seq.

control End-end congestion control: no explicit feedback from network congestion inferred from end-system observed loss, delay approach taken by TCP Network-assisted congestion control: routers provide feedback to end systems - single bit indicating congestion (SNA, DECbit, TCP/IP ECN, ATM) - explicit rate sender should send at

Loading..

Tags:

  Control

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Spam in document Broken preview Other abuse

Transcription of TCP Flow Control and Congestion Control

Related search queries