TCP
TCP (Transmission Control Protocol) is a connection-oriented transport-layer protocol that provides reliable, ordered delivery of a byte stream between network endpoints.
Acing the CCNA Exam: Volume 1 Fundamentals and Protocols
Transmission Control Protocol is a transport-layer protocol that provides reliable, connection-oriented delivery with mechanisms for detecting and recovering from lost data.
- How it is used
- Deploys TCP for Layer 4 application addressing, session multiplexing, reliable delivery, and flow control.
- How deep it goes
- Explains TCP through connection stages, header flags, sequencing, acknowledgment, retransmission, and flow control, without requiring header memorization.
- Examples
- Uses client-server file transfer, PC1-SRV1 handshakes, lost-segment retransmission, and Window Size flow-control diagrams.
- What you can do after
- Evaluate TCP against UDP and explain how its mechanisms provide reliable delivery while adding data, processing, and time overhead.
Read how Acing the CCNA Exam: Volume 1 Fundamentals and Protocols explains TCP →
Rust Servers, Services, and Apps
Transmission Control Protocol is a connection-oriented transport protocol that provides reliable, ordered delivery of a byte stream between endpoints.
- How it is used
- Provides the byte-stream transport for a Rust client-server exchange before HTTP message handling is added.
- How deep it goes
- Works through binding, connecting, reading, writing, and echoing bytes, but does not elaborate TCP reliability mechanisms.
- Examples
- Uses a localhost Rust client and server that connect on port 3000 and echo "Hello".
- What you can do after
- Build it from scratch: create a basic Rust TCP client and server that exchange raw bytes.
Systems Programming with Zig
TCP is the Transmission Control Protocol, a transport-layer protocol that provides reliable ordered byte-stream communication between hosts.
- How it is used
- Uses TCP as the foundation for turning a word-game REPL into a web application.
- How deep it goes
- Walks through listening, accepting connections, and reading client input with Zig abstractions, without detailing TCP packet internals.
- Examples
- Demonstrates a loopback echo server that responds to lines sent with ncat.
- What you can do after
- Build a basic TCP echo server with Zig’s std.Io and test it with ncat.
Rust in Action: Systems programming concepts and techniques
TCP (Transmission Control Protocol) is a transport-layer network protocol that provides reliable, ordered, connection-oriented delivery of data.
- How it is used
- Connects HTTP applications to lower networking protocols through standard sockets or manually assembled TCP primitives.
- How deep it goes
- Progresses from TcpStream usage to TCP socket states and raw-packet access, but does not detail TCP’s internal reliability algorithms.
- Examples
- Demonstrates TCP with a Rust HTTP GET client, a smoltcp-based mget project, DNS queries, and a virtual networking device.
- What you can do after
- Build it from scratch by sending HTTP requests with TcpStream or a virtual device and minimal TCP implementation.
Read how Rust in Action: Systems programming concepts and techniques explains TCP →
Go in Practice, Second Edition
TCP is a connection-oriented transport-layer protocol that provides reliable, ordered byte streams.
- How it is used
- Deploys TCP for low-level client-server networking, custom servers, network logging, and persistent web communication.
- How deep it goes
- Explains connections, packets, acknowledgements, failures, and back pressure, but stops short of detailed network mechanics.
- Examples
- Uses a TCP network logger, packet acknowledgements, buffered delivery, and a client-server exchange diagram.
- What you can do after
- Build custom TCP servers and diagnose delivery problems involving dropped connections, slow receivers, packet splitting, and acknowledgements.
Python Concurrency with asyncio
TCP is a reliable connection-oriented transport protocol that delivers an ordered byte stream between applications and retransmits lost data.
- How it is used
- Uses TCP sockets to build a server that accepts reliable application connections.
- How deep it goes
- Explains reliability and socket setup through a runnable server, including binding, listening, and accepting connections.
- Examples
- Uses a Python server at 127.0.0.1:8000 that listens for and accepts a client connection.
- What you can do after
- Operate/configure a TCP server socket that binds locally, listens, accepts a connection, and identifies the client.
Also covered in
- Fundamentals of CybersecurityIn early access (MEAP)
- Akka in Action, Second Edition
- Latency
- Real-World Cryptography
- Fast Python: High performance techniques for large datasets
- Think Distributed Systems
- Kubernetes for Developers
What to know first
- HTTPHTTP is an application-layer protocol that defines request-and-response communication for transferring resource representations and related metadata between networked systems.
- IP addressAn IP address is a numerical network-layer address identifying an interface or endpoint for communication over an Internet Protocol network.
- TLSTransport Layer Security (TLS) is a cryptographic protocol that protects network communications through confidentiality, integrity, and authentication of communicating endpoints.
- domain name systemThe Domain Name System (DNS) is a distributed, hierarchical naming system that resolves domain names to IP addresses and other network resource records.
Related concepts
- HTTPused by · HTTP is an application-layer protocol that defines request-and-response communication for transferring resource representations and related metadata between networked systems.
- UDPcontrasts with · The User Datagram Protocol (UDP) is a connectionless transport-layer protocol that sends datagrams without guaranteeing delivery, ordering, or duplicate suppression.
- domain name systemused by · The Domain Name System (DNS) is a distributed, hierarchical naming system that resolves domain names to IP addresses and other network resource records.
- HTTPSused by · HTTPS is HTTP carried over TLS to provide encrypted communication and authentication between network endpoints.
- FTPused by · FTP is an application-layer network protocol for transferring files between networked systems.
- loggingproduces · Logging is the practice of recording events and diagnostic information produced during software or system activity for later inspection, analysis, or troubleshooting.
Questions about TCP
What is TCP?
TCP (Transmission Control Protocol) is a connection-oriented transport-layer protocol that provides reliable, ordered delivery of a byte stream between network endpoints.
Which Manning books explain TCP?
Acing the CCNA Exam: Volume 1 Fundamentals and Protocols, Rust Servers, Services, and Apps, Systems Programming with Zig, Rust in Action: Systems programming concepts and techniques, Go in Practice, Second Edition and Python Concurrency with asyncio.
What should I know before learning TCP?
Manning books that teach TCP usually introduce HTTP, IP address, TLS and domain name system first.
What is the difference between TCP and UDP?
TCP (Transmission Control Protocol) is a connection-oriented transport-layer protocol that provides reliable, ordered delivery of a byte stream between network endpoints. The User Datagram Protocol (UDP) is a connectionless transport-layer protocol that sends datagrams without guaranteeing delivery, ordering, or duplicate suppression.
What is TCP also called?
TCP is also called transmission control protocol.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.





