Lecture TCP-IP protocol suite - Chapter 12: Transmission Control Protocol (TCP)
Số trang: 64
Loại file: ppt
Dung lượng: 1.34 MB
Lượt xem: 15
Lượt tải: 0
Xem trước 7 trang đầu tiên của tài liệu này:
Thông tin tài liệu:
Upon completion you will be able to: Be able to name and understand the services offered by TCP, understand TCP’s flow and error control and congestion control, be familiar with the fields in a TCP segment, understand the phases in a connection-oriented connection, understand the TCP transition state diagram, be able to name and understand the timers used in TCP, be familiar with the TCP options.
Nội dung trích xuất từ tài liệu:
Lecture TCP-IP protocol suite - Chapter 12: Transmission Control Protocol (TCP) Chapter12 Transmission ControlProtocol (TCP)McGrawHill ©TheMcGrawHillCompanies,Inc.,2000 CONTENTS •PROCESSTOPROCESSCOMMUNICATION •TCPSERVICES •NUMBERINGBYTES •FLOWCONTROL •SILLYWINDOWSYNDROME •ERRORCONTROL •TCPTIMERSMcGrawHill ©TheMcGrawHillCompanies,Inc.,2000 CONTENTS(continued) •CONGESTIONCONTROL •SEGMENT •OPTIONS •CHECKSUM •CONNECTION •STATETRANSITIONDIAGRAM •TCPOERATION •TCPPACKAGEMcGrawHill ©TheMcGrawHillCompanies,Inc.,2000Figure121 Position of TCP in TCP/IP protocol suiteMcGrawHill ©TheMcGrawHillCompanies,Inc.,2000 12.1 PROCESS TO PROCESS COMMUNICATIONMcGrawHill ©TheMcGrawHillCompanies,Inc.,2000Figure122 TCP versus IPMcGrawHill ©TheMcGrawHillCompanies,Inc.,2000Figure123 Port numbersMcGrawHill ©TheMcGrawHillCompanies,Inc.,2000 12.2 TCP SERVICESMcGrawHill ©TheMcGrawHillCompanies,Inc.,2000Figure124 Stream deliveryMcGrawHill ©TheMcGrawHillCompanies,Inc.,2000Figure125 Sending and receiving buffersMcGrawHill ©TheMcGrawHillCompanies,Inc.,2000Figure126 TCP segmentsMcGrawHill ©TheMcGrawHillCompanies,Inc.,2000 12.3 NUMBERING BYTESMcGrawHill ©TheMcGrawHillCompanies,Inc.,2000 The bytes of data being transferred in each connection are numbered by TCP. The numbering starts with a randomly generated number.McGrawHill ©TheMcGrawHillCompanies,Inc.,2000 Example1 Imagine a TCP connection is transferring a file of 6000 bytes. The first byte is numbered 10010. What are the sequence numbers for each segment if data is sent in five segments with the first four segments carrying 1,000 bytes and the last segment carrying 2,000 bytes?McGrawHill ©TheMcGrawHillCompanies,Inc.,2000 Solution The following shows the sequence number for each segment: Segment 1 10,010 (10,010 to 11,009) Segment 2 11,010 (11,010 to 12,009) Segment 3 12,010 (12,010 to 13,009) Segment 4 13,010 (13,010 to 14,009) Segment 5 14,010 (14,010 to 16,009)McGrawHill ©TheMcGrawHillCompanies,Inc.,2000 The value of the sequence number field in a segment defines the number of the first data byte contained in that segment.McGrawHill ©TheMcGrawHillCompanies,Inc.,2000 The value of the acknowledgment field in a segment defines the number of the next byte a party expects to receives. The acknowledgment number is cumulative.McGrawHill ©TheMcGrawHillCompanies,Inc.,2000 12.4 FLOW CONTROLMcGrawHill ©TheMcGrawHillCompanies,Inc.,2000 A sliding window is used to make transmission more efficient as well as to control the flow of data so that the destination does not become overwhelmed with data. TCP’s sliding windows are byte oriented.McGrawHill ©TheMcGrawHillCompanies,Inc.,2000Figure127 Sender bufferMcGrawHill ©TheMcGrawHillCompanies,Inc.,2000
Nội dung trích xuất từ tài liệu:
Lecture TCP-IP protocol suite - Chapter 12: Transmission Control Protocol (TCP) Chapter12 Transmission ControlProtocol (TCP)McGrawHill ©TheMcGrawHillCompanies,Inc.,2000 CONTENTS •PROCESSTOPROCESSCOMMUNICATION •TCPSERVICES •NUMBERINGBYTES •FLOWCONTROL •SILLYWINDOWSYNDROME •ERRORCONTROL •TCPTIMERSMcGrawHill ©TheMcGrawHillCompanies,Inc.,2000 CONTENTS(continued) •CONGESTIONCONTROL •SEGMENT •OPTIONS •CHECKSUM •CONNECTION •STATETRANSITIONDIAGRAM •TCPOERATION •TCPPACKAGEMcGrawHill ©TheMcGrawHillCompanies,Inc.,2000Figure121 Position of TCP in TCP/IP protocol suiteMcGrawHill ©TheMcGrawHillCompanies,Inc.,2000 12.1 PROCESS TO PROCESS COMMUNICATIONMcGrawHill ©TheMcGrawHillCompanies,Inc.,2000Figure122 TCP versus IPMcGrawHill ©TheMcGrawHillCompanies,Inc.,2000Figure123 Port numbersMcGrawHill ©TheMcGrawHillCompanies,Inc.,2000 12.2 TCP SERVICESMcGrawHill ©TheMcGrawHillCompanies,Inc.,2000Figure124 Stream deliveryMcGrawHill ©TheMcGrawHillCompanies,Inc.,2000Figure125 Sending and receiving buffersMcGrawHill ©TheMcGrawHillCompanies,Inc.,2000Figure126 TCP segmentsMcGrawHill ©TheMcGrawHillCompanies,Inc.,2000 12.3 NUMBERING BYTESMcGrawHill ©TheMcGrawHillCompanies,Inc.,2000 The bytes of data being transferred in each connection are numbered by TCP. The numbering starts with a randomly generated number.McGrawHill ©TheMcGrawHillCompanies,Inc.,2000 Example1 Imagine a TCP connection is transferring a file of 6000 bytes. The first byte is numbered 10010. What are the sequence numbers for each segment if data is sent in five segments with the first four segments carrying 1,000 bytes and the last segment carrying 2,000 bytes?McGrawHill ©TheMcGrawHillCompanies,Inc.,2000 Solution The following shows the sequence number for each segment: Segment 1 10,010 (10,010 to 11,009) Segment 2 11,010 (11,010 to 12,009) Segment 3 12,010 (12,010 to 13,009) Segment 4 13,010 (13,010 to 14,009) Segment 5 14,010 (14,010 to 16,009)McGrawHill ©TheMcGrawHillCompanies,Inc.,2000 The value of the sequence number field in a segment defines the number of the first data byte contained in that segment.McGrawHill ©TheMcGrawHillCompanies,Inc.,2000 The value of the acknowledgment field in a segment defines the number of the next byte a party expects to receives. The acknowledgment number is cumulative.McGrawHill ©TheMcGrawHillCompanies,Inc.,2000 12.4 FLOW CONTROLMcGrawHill ©TheMcGrawHillCompanies,Inc.,2000 A sliding window is used to make transmission more efficient as well as to control the flow of data so that the destination does not become overwhelmed with data. TCP’s sliding windows are byte oriented.McGrawHill ©TheMcGrawHillCompanies,Inc.,2000Figure127 Sender bufferMcGrawHill ©TheMcGrawHillCompanies,Inc.,2000
Tìm kiếm theo từ khóa liên quan:
TCP-IP protocol suite Lecture TCP-IP protocol suite Network layer Internet protocol Transmission control protocol TCP servicesTài liệu liên quan:
-
Giáo trình Nhập môn Mạng máy tính: Phần 2
86 trang 141 0 0 -
Lecture Network Certification: Chapter 4 - Microsoft Press
39 trang 28 0 0 -
Lecture Web design and development: Lesson 1
37 trang 27 0 0 -
WHITE PAPER: WIRELESS NETWORK SECURITY FULL
10 trang 26 0 0 -
Lecture Computer networks: Lesson 35 - Hammad Khalid Khan
14 trang 25 0 0 -
Lecture Network Certification: Chapter 16 - Microsoft Press
34 trang 25 0 0 -
Advanced Computer Networks: Lecture 4 - Dr. Amir Qayyum
43 trang 24 0 0 -
Lecture Network + Certification: Chapter 19 - Microsoft Press
29 trang 23 0 0 -
Lecture Network Certification: Chapter 18 - Microsoft Press
49 trang 23 0 0 -
Lecture Computer Networks: Architecture and Protocols - Lesson 9
69 trang 23 0 0