Chap-12 TCP - TCP/IP Protocol Suite 1 Chapter 12 Chapter 12...

Info iconThis preview shows pages 1–12. 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: 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 TCPs 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 TCP/IP Protocol Suite 2 Figure 12.1 TCP/IP protocol suite 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 TCP/IP Protocol Suite 4 Table 12.1 Table 12.1 Well-known ports used by TCP Well-known ports used by TCP 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 TCP/IP Protocol Suite 6 Figure 12.2 Stream delivery TCP/IP Protocol Suite 7 Figure 12.3 Sending and receiving buffers TCP/IP Protocol Suite 8 Figure 12.4 TCP segments 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 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: 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?...
View Full Document

Page1 / 115

Chap-12 TCP - TCP/IP Protocol Suite 1 Chapter 12 Chapter 12...

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

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