Error Checking Transport Protocol
5.3.1. TCP
The Transmission Control Protocol TCP originated in ARPANET, and was designed to cope with Type C networks. Consequently, the CCITT Class 4 protocol has borrowed many of its concepts. TCP sits directly on top of IP see Chapter 4 and is well suited to internetworking. The combination is commonly referred to as TCPIP. TCP accepts arbitrary size messages from a service user and, if necessary, segments them into smaller blocks. Figure 5.62 depicts the general structure of a TCP block. The block is constructed in two stages. First, a TCP header is added to user data; this header is essentially a transport-layer-style header. Next, a datagram header is added to the result to prepare it for a datagram network service. Given the unreliable network service expectations of TCP Type C, blocks may be corrupted, lost, duplicated, or out of sequence. TCP uses sequence numbers and resequences blocks when necessary. Unlike other protocols, sequencing is performed on an octet rather than block basis. The sequence numbers for the octets in a block are determined by the Sequence Number and the Total Length fields. Flow control is also octet-oriented. It is based on a credit-style sliding window, where the window size determines how many octets may be transmitted. Figure 5.62 General structure of a TCP block. Field Description Version Datagram protocol version. Header Length Datagram header length. Service Type Type of service expected of the network layer. Total Length Total length of the block. Datagram Segment Owner The sequence number of the owner datagram. Segment Flags Segmentation-related flags. Header Segment Offset Offset to where segment begins in owner datagram. Lifetime Block lifetime in seconds. Checksum Simple checksum for the datagram header. Addresses Source and destination network+host addresses. Options Various options for errors, routing, security, etc. Ports Source and destination ports. Sequence Number Sequences every octet of data. Acknowledgment Used for piggyback acknowledgment of data. TCP Header Length Length of the TCP header. Flags Flags for SYN, ACK, segmentation, reset, etc. Header Window Window size in octets. Checksum Simple checksum for the TCP header. Expedited Offset to where expedited data is located. Options Various TCP-related options, e.g., buffer sizes. User Data Actual transport service user data. Corrupted and lost blocks are retransmitted the T1 timer is used for detecting lost blocks. Delayed duplicate control blocks for establishing connections are dealt withParts
» | Komputasi | Suatu Permulaan
» Introduction 1 The Physical Layer 18 The Data Link Layer 36 The Network Layer 52
» Integrated Services Digital Network 140 Broadband ISDN and ATM 161
» Network Components Network Types
» The Physical Layer The Data Link Layer
» The Network Layer The Transport Layer
» The Session Layer The Presentation Layer
» Service Primitives Sequence Diagrams
» Signal Types Modulation Transmission
» Space Division Multiplexing SDM Frequency Division Multiplexing FDM Time Division Multiplexing TDM
» RS-232 Physical Layer Standards
» Further Reading Summary Exercises
» Synchronous Protocols Asynchronous Protocols
» Acknowledgments Timers Link Protocol Functions
» Error Checking Link Protocol Functions
» Retransmission Flow Control Link Protocol Functions
» Sliding Window Protocol The Data Link Layer
» BSC Data Link Layer Standards
» HDLC Data Link Layer Standards
» Further Reading Summary The Data Link Layer
» Exercises The Data Link Layer
» Network Services The Network Layer
» Circuit Switching Switching Methods
» Packet Switching Switching Methods
» Packet Structure Routing Packet Handling
» Congestion Control Error Handling
» CCITT X.25 Network Layer Standards
» CCITT X.75 IP Network Layer Standards
» ISO 8473 Network Layer Standards
» Further Reading Summary The Network Layer
» supports three types of packets: data packets, control packets, and interrupt
» Network Types Transport Services
» Classes of Protocol Transport Protocol
» Splitting and Recombining Transport Protocol
» Flow Control Transport Protocol
» Error Checking Transport Protocol
» TCP Transport Layer Standards
» Further Reading The Transport Layer
» Session Layer Role Session Services
» Functional Units Session Services
» Activities and Dialogue Units
» Error Reporting and Resynchronization
» Session Layer Standards The Session Layer
» Further Reading The Session Layer
» Service Primitives Presentation Services
» Definitions in ASN.1 Abstract Syntax Notation One
» Basic Encoding Rules Abstract Syntax Notation One
» Presentation Protocol The Presentation Layer
» Presentation Standards The Presentation Layer
» Further Reading The Presentation Layer
» Application Entity Application Services
» Association Control Common Application Service Elements
» Reliable Transfer Common Application Service Elements
» Virtual Terminal Specific Application Service Elements
» Message Handling Systems Specific Application Service Elements
» File Transfer, Access, and Management
» Other Standards The Application Layer
» Further Reading The Application Layer
» Topologies and Access Protocols
» Logical Link Control IEEE 802 Standards
» Token Ring Protocol ANSI FDDI Standard
» Further Reading Local Area Networks
» A Simple Network Basic Concepts
» Networks Topologies Basic Concepts
» Switching Systems Basic Concepts
» Common Channel Signaling Signaling
» Signaling Data Link Signaling Link Control
» Signaling Network Functions Signaling System Number 7
» Signaling Connection Control Part
» User Parts Signaling System Number 7
» PBX Networks Private Telephone Networks
» Corporate Networks Private Telephone Networks
» Intelligent Networks Private Telephone Networks
» Further Reading Telephone Networks
» ISDN Channels Basic Concepts
» Functional Groupings and Reference Points
» ISDN Services Basic Concepts
» The Physical Layer Protocol Architecture
» The Network Layer Protocol Architecture
» Internetworking Integrated Services Digital Network
» ISDN Standards Integrated Services Digital Network
» Further Reading Integrated Services Digital Network
» B-ISDN Services Broadband ISDN
» B-ISDN User-Network Interface Broadband ISDN
» B-ISDN Protocol Architecture Broadband ISDN
» Channels and Paths Asynchronous Transfer Mode
» ATM Cells Asynchronous Transfer Mode
» SDH-Based Interface Physical Layer
» Cell-Based Interface Physical Layer
» Cell Delineation Physical Layer
» HEC Generation and Verification
» Cell Rate Decoupling Physical Layer
» Virtual Channel Identifier ATM Layer
Show more