Danh mục

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    
10.10.2023

Hỗ trợ phí lưu trữ khi tải xuống: 25,000 VND Tải xuống file đầy đủ (64 trang) 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

Tài liệu được xem nhiều: