This preview shows page 1. Sign up to view the full content.
Unformatted text preview: detail, as we see how TCP operates.
Our description of TCP starts in this chapter and continues in the next seven chapters.
Chapter 18 describes how a TCP connection is established and terminated, and Chapters 19
and 20 look at the normal transfer of data, both for interactive use (remote login) and bulk
data (file transfer). Chapter 21 provides the details of TCP's timeout and retransmission,
followed by two other TCP timers in Chapters 22 and 23. Finally Chapter 24 takes a look at
newer TCP features and TCP performance.
The original specification for TCP is RFC 793 [Postel 1981c], although some errors in that
RFC are corrected in the Host Requirements RFC. 17.2 TCP Services
Even though TCP and UDP use the same network layer (IP), TCP provides a totally
different service to the application layer than UDP does. TCP provides a connectionoriented, reliable, byte stream service.
The term connection-oriented means the two applications using TCP (normally considered a
client and a server) must establish a TCP connection with each other before they can
exchange data. The typical analogy is dialing a telephone number, waiting for the other
party to answer the phone and say "hello," and then saying who's calling. In Chapter 18 we
look at how a connection is established, and disconnected some time later when either end is
There are exactly two end points communicating with each other on a TCP connection.
Concepts that we talked about in Chapter 12, broadcasting and multicasting, aren't
applicable to TCP.
TCP provides reliability by doing the following:
q The application data is broken into what TCP considers the best sized chunks to send.
This is totally different from UDP, where each write by the application generates a
UDP datagram of that size. The unit of information passed by TCP to IP is called a
segment. (See Figure 1.7) In Section 18.4 we'll see how TCP decides what this
segment size is. file:///D|/Documents%20and%20Settings/bigini/Docum.../homenet2run/tcpip/tcp-ip-illustrated/tcp_tra...
View Full Document
This test prep was uploaded on 04/04/2014 for the course ECE EL5373 taught by Professor Guoyang during the Spring '12 term at NYU Poly.
- Spring '12