{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Chap-12 TCP - Chapter12 Transmission Control Protocol...

Info icon This preview shows pages 1–12. Sign up to view the full content.

View Full Document Right Arrow Icon
TCP/IP Protocol Suite 1 Chapter   12 Chapter   12 Upon completion you will be able to: Transmission Transmission Control Protocol Control Protocol 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 Objectives
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
TCP/IP Protocol Suite 2 Figure 12.1 TCP/IP protocol suite
Image of page 2
TCP/IP Protocol Suite 3 12.1 TCP SERVICES We explain the services offered by TCP to the processes at the We explain the services offered by TCP to the processes at the application layer. application layer. The topics discussed in this section include: The topics discussed in this section include: Process-to-Process Communication Process-to-Process Communication Stream Delivery Service Stream Delivery Service Full-Duplex Communication Full-Duplex Communication Connection-Oriented Service Connection-Oriented Service Reliable Service Reliable Service
Image of page 3

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
TCP/IP Protocol Suite 4 Table 12.1 Table 12.1 Well-known ports used by TCP Well-known ports used by TCP
Image of page 4
TCP/IP Protocol Suite 5 As we said in Chapter 11, in UNIX, the well-known ports are stored in a file called /etc/services. Each line in this file gives the name of the server and the well-known port number. We can use the grep utility to extract the line corresponding to the desired application. The following shows the ports for FTP. Example  1 $ grep ftp /etc/services ftp-data 20/tcp ftp-control 21/tcp
Image of page 5

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
TCP/IP Protocol Suite 6 Figure 12.2 Stream delivery
Image of page 6
TCP/IP Protocol Suite 7 Figure 12.3 Sending and receiving buffers
Image of page 7

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
TCP/IP Protocol Suite 8 Figure 12.4 TCP segments
Image of page 8
TCP/IP Protocol Suite 9 12.2 TCP FEATURES To provide the services mentioned in the previous section, TCP has To provide the services mentioned in the previous section, TCP has several features that are briefly summarized in this section. several features that are briefly summarized in this section. The topics discussed in this section include: The topics discussed in this section include: Numbering System Numbering System Flow Control Flow Control Error Control Error Control Congestion Control Congestion Control
Image of page 9

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
TCP/IP Protocol Suite 10 The bytes of data being transferred in each connection are numbered by TCP. The numbering starts with a randomly generated number. Note: Note:
Image of page 10
TCP/IP Protocol Suite 11 Suppose a TCP connection is transferring a file of 5000 bytes. The first byte is numbered 10001. What are the sequence numbers for each segment if data is sent in five segments, each carrying 1000 bytes?
Image of page 11

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 12
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}