You are previewing TCP/IP Illustrated, Volume 1: The Protocols.

TCP/IP Illustrated, Volume 1: The Protocols

Cover of TCP/IP Illustrated, Volume 1: The Protocols by Kevin R. Fall... Published by Addison-Wesley Professional
O'Reilly logo

13. TCP Connection Management

13.1. Introduction

TCP is a unicast connection-oriented protocol. Before either end can send data to the other, a connection must be established between them. In this chapter, we take a detailed look at what a TCP connection is, how it is established, and how it is terminated. Recall that TCP’s service model is a byte stream. TCP detects and repairs essentially all the data transfer problems that may be introduced by packet loss, duplication, or errors at the IP layer (or below).

Because of its management of connection state (information about the connection kept by both endpoints), TCP is a considerably more complicated protocol than UDP (see Chapter 10). UDP is a connectionless protocol that involves no connection ...

The best content for your career. Discover unlimited learning on demand for around $1/day.