TCP

Definition

Transmission Control Protocol - ensures reliable, ordered delivery of data over networks, making it essential for applications requiring accuracy.

Use Cases

Frequently Asked Questions

What's the difference between TCP and UDP?
TCP is connection-oriented and focuses on reliability: it establishes a connection, retransmits lost packets, delivers data in order, and uses flow/congestion control. UDP is connectionless and does not guarantee delivery or ordering; it’s often used when low latency matters more than perfect reliability (for example, live voice/video or some gaming traffic).
When should I use TCP?
Use TCP when your application needs reliable, ordered delivery—such as web browsing (HTTP/HTTPS), file transfers, email, SSH remote access, and most database connections. Choose TCP when correctness matters more than the lowest possible latency and when you want the protocol to handle retransmissions and ordering for you.
How much does TCP cost?
TCP itself is free—it's a standard protocol. Costs come from the infrastructure that carries TCP traffic: cloud data transfer (egress/ingress), load balancers or NAT gateways, firewall processing, and compute resources used by your applications. Pricing depends on bandwidth, number of connections, and which managed networking components you use.

Category: networking

Difficulty: intermediate

Related Terms

See Also