novemver27 - 1 Lecture, November 27, 2002 TCP Other...

Info iconThis preview shows pages 1–13. 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
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 1 Lecture, November 27, 2002 TCP Other Internet Protocols; Internet Traffic Scalability of Virtual Circuit Networks QoS 2 IPv6 flow label payload length (bytes) 16 31 8 version priority next header hop limit 128-bit source IP address 128-bit destination IP address Payload 3 UDP payload 16 31 8 source port checksum length destination port 4 TCP Supports: Error control. For each segment: Sequence numbers. Acknowledgment. Timeout Example stop and wait protocol. Very inefficient. Window based Flow Control Congestion Control 5 (a ) n o e r r o r s o r lo s t P D U s s e n d e r r e c e iv e r p d u 0 a c k 0 p d u 0 a c k 0 p d u 1 p d u 1 a c k 1 a c k 1 p d u 0 p d u 0 a c k 0 tim e o u t ( d e te c t d u p lic a te ) ( d ) a c k n o w le d m e n t lo s t s e n d e r s e n d e r re c e iv e r ( e ) d u p lic a te p d u d u e to p r e m a tu r e tim e o u t ( b ) lo s t P D U tim e tim e s e n d e r r e c e iv e r p d u 0 p d u 0 a c k 0 tim e o u t a c k 0 p d u 1 p d u 1 p d u 1 a c k 1 a c k 1 p d u 0 s e n d e r r e c e iv e r p d u 0 p d u 0 a c k 0 tim e o u t a c k 0 p d u 1 p d u 1 p d u 1 a c k 1 a c k 1 p d u 0 p d u 1 (e rro r d e te c te d ) ( c ) P D U in e rr o r p d u 0 p d u 0 a c k 0 a c k 0 p d u 1 p d u 1 a c k 1 p d u 1 p d u 1 a c k 1 p d u 0 p d u 0 p d u 0 re c e iv e r a c k 0 a c k 0 p d u 0 p d u 1 p d u 1 a c k 1 tim e o u t a c k 1 p d u 1 p d u 1 (d e te c t d u p lic a te ) p d u 0 a c k 0 p d u 0 a c k 1 6 TCP options acknowledgment number destination port payload 16 31 8 source port sequence number flags checksum urgent pointer advertized window header length 7 TCP 1 bit flags ACK when set the ack value is valid SYN, RST, FIN used for connection establishment and tear-down PUSH data should be passed to the upper layer immediately. URG there is urgent information in the data 8 Data streaming. MSS- maximum segment size 536 1072 1608 536,000 536,536 segment 1 segment 2 segment 3 segment 1001 tcp hdr segment 3 ip hdr tcp hdr segment 3 576 556 536 9 TCP flow control window Application IP TCP Application IP TCP lastByteAcknowledged lastByteSent lastByteFromApplication Sender's Window lastByteToApplication nextByteExpected lastByteReceived Receiver's Window Sender Receiver 10 SYN, SequenceNumber = c Client SYN+ACK, SequenceNumber = s, Acknowledgment=c+1 ACK, Acknowledgment=s+1 Server data 11 TCP is a connection-oriented protocol for client-server communication Three-way handshake Client Process Client socket Main Thread of Server Process Data Server socket New socket New Thread of Server Process Internet 12 C L O S E D L I S T E N S Y N _ S E N T S Y N _ R E C V D E S T A B L I S H E D F I N _ W A I T 1 F I N _ W A I T 2 C L O S I N G T I M E _ W A I T C L O S E D L A S T _ A C K C L O S E _ W A I T A c t iv e O p e n S Y N C lo s e C lo s e P a s s iv e O p e n S e n d S Y N S Y N S Y N + A C K C lo s e F I N S Y N S Y N + A C K A C K C l o s e F I N F I N A C K A C K F I N...
View Full Document

Page1 / 56

novemver27 - 1 Lecture, November 27, 2002 TCP Other...

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

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