中国高校课件下载中心 》 教学资源 》 大学文库

台北科技大学:《计算机网络》(英文版) NP04 12 CONTENTS

文档信息
资源类别:文库
文档格式:PPT
文档页数:65
文件大小:1.15MB
团购合买:点击进入团购
内容简介
CONTENTS TCP SERVICES NUMBERING BYTES FLOW CONTROL SILLY WINDOW SYNDROME ERROR CONTROL TCP TIMERS CONGESTION CONTROL SEGMENT OPTIONS CHECKSUM
刷新页面文档预览

Transmission Control Protocol (TCP) Chuan-Ming liu CSIE NTUT Spring 04, TAIWAN CSIE NTUT TANAN

CSIE, NTUT, TAIWAN 1 Transmission Control Protocol (TCP) Chuan-Ming Liu CSIE, NTUT Spring ’04, TAIWAN

CONTENTS TCP SERVICES NUMBERING BYTES FLOW CONTROL SILLY WINDOW SYNDROME ERROR CONTROL TCP TIMERS CONGESTION CONTROL SEGMENT OPTIONS CHECKSUM CONNECTION TCP OERATION CSIE NTUT TANAN

CSIE, NTUT, TAIWAN 2 CONTENTS • TCP SERVICES • NUMBERING BYTES • FLOW CONTROL • SILLY WINDOW SYNDROME • ERROR CONTROL • TCP TIMERS • CONGESTION CONTROL • SEGMENT • OPTIONS • CHECKSUM • CONNECTION • TCP OERATION

Position of TcPin TcP/IP protocol suite Application SMTP‖FTP TETP DNS SNMP ··| BOOTP ayer Transport TCP UDP IGMP ICMP Network IP nyer ARP RARP Data link Underlying lan or WAN technolo Physical layer CSIE NTUT TANAN Figure 12-1

CSIE, NTUT, TAIWAN 3 Figure 12-1 Position of TCP in TCP/IP protocol suite

12.2 TCP SERVICES CSIE NTUT TANAN

CSIE, NTUT, TAIWAN 4 TCP SERVICES 12.2

TCP Services Stream Delivery Service TCP is a stream-oriented protocol Uses imaginary tube to communicate Uses sending and receiving buffers to synchronize Group a number of bytes into a packet called segment Full-duplex Service Connection-oriented Service Reliable service CSIE NTUT TANAN

CSIE, NTUT, TAIWAN 5 TCP Services • Stream Delivery Service – TCP is a stream-oriented protocol – Uses imaginary “tube” to communicate – Uses sending and receiving buffers to synchronize – Group a number of bytes into a packet called segment • Full-duplex Service • Connection-oriented Service • Reliable Service

123 NUMBERING BYTES CSIE NTUT TANAN

CSIE, NTUT, TAIWAN 9 NUMBERING BYTES 12.3

Numbering Bytes TCP uses the following two fields to track the segments Sequence number Acknowledgment number These two fields use byte number, not the segment number CSIE NTUT TANAN

CSIE, NTUT, TAIWAN 10 Numbering Bytes • TCP uses the following two fields to track the segments – Sequence number – Acknowledgment number • These two fields use byte number, not the segment number

Byte Numbers TCP numbers all the data transmitted in a connection Numbering is independent in each direction The numbering does not necessarily start from 0: it starts randomly The random number is between 0 and 232-1 For flow and error control CSIE NTUT TANAN

CSIE, NTUT, TAIWAN 11 Byte Numbers • TCP numbers all the data transmitted in a connection • Numbering is independent in each direction • The numbering does not necessarily start from 0; it starts randomly • The random number is between 0 and 232 -1 • For flow and error control

Sequence number After bytes numbered TCP assigns a sequence number to each segment The sequence number for each sequence is the number of the first byte in that segment CSIE NTUT TANAN

CSIE, NTUT, TAIWAN 12 Sequence Number • After bytes numbered, TCP assigns a sequence number to each segment • The sequence number for each sequence is the number of the first byte in that segment

Example 1 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? CSIE NTUT TANAN

CSIE, NTUT, TAIWAN 13 Example 1 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?

刷新页面下载完整文档
VIP每日下载上限内不扣除下载券和下载次数;
按次数下载不扣除下载券;
注册用户24小时内重复下载只扣除一次;
顺序:VIP每日次数-->可用次数-->下载券;
相关文档