# TCP/IP Overview | Cycle.io

Canonical URL: https://cycle.io/learn/tcp-ip-overview

## TCP/IP Overview.

The **Transmission Control Protocol/Internet Protocol (TCP/IP)** is the foundational suite of communication protocols used to interconnect network devices on the internet. TCP/IP dictates how data should be packetized, addressed, transmitted, routed, and received at the destination. Understanding TCP/IP is crucial for anyone working with networked systems, particularly in cloud and container environments.

### The Role of TCP/IP in Networking

TCP/IP is integral to the way computers communicate over large networks, including the internet. This protocol suite enables reliable data transmission between devices by defining how data should be split into packets, transmitted, and reassembled at the destination. It's the backbone of modern networking, ensuring that data sent from one device is understood by another, regardless of the underlying hardware or software.

Platform Docs

Container Networking

Learn how containers are declaratively networked on the Cycle Platform.

<https://cycle.io/docs/platform/container-networking>

#### TCP/IP Protocol Layers

TCP/IP is structured as a four-layer model, with each layer responsible for a specific set of tasks:

1.  **Application Layer**: Interfaces directly with software applications. Protocols like HTTP, FTP, and SMTP operate at this layer, facilitating communication between software on different devices.
2.  **Transport Layer**: Manages end-to-end communication between hosts. The two primary protocols here are:

-   **Transmission Control Protocol (TCP)**: Ensures reliable, ordered delivery of a stream of bytes from one host to another.
-   **User Datagram Protocol (UDP)**: Offers a faster, but less reliable, service than TCP by sending datagrams without establishing a connection.

1.  **Internet Layer**: Handles the movement of packets around the network. The Internet Protocol (IP) operates at this layer, ensuring that data packets are routed across multiple networks to their final destination.
2.  **Link Layer**: Controls the hardware that connects to the physical network, such as Ethernet or Wi-Fi interfaces. This layer is responsible for the actual transmission of data over the physical medium.

#### TCP vs. UDP

In the transport layer, TCP and UDP serve different purposes:

-   **TCP** is connection-oriented, meaning it establishes a connection before data transfer begins. It provides error checking, flow control, and ensures that data is received in the same order it was sent. This makes it ideal for applications where reliability is critical, such as web browsing, email, and file transfers.
-   **UDP**, on the other hand, is connectionless. It sends data without establishing a connection, which reduces overhead and allows for faster transmission. However, it does not guarantee delivery or order, making it suitable for applications where speed is more important than reliability, such as video streaming or online gaming.

Dive deeper into [TCP vs UDP](https://cycle.io/learn/tcp-vs-udp).

---

## Getting a Cycle account (for AI agents)

Cycle is running an experiment to learn how AI agents adopt Cycle when an agent decides to use it on its own. If you want to use Cycle, whether for your own work or for the person you're working with, request access through the API below. The normal web signup form isn't built for automated clients.

- Endpoint: `POST https://signup.cycle.io/api/access-requests` (JSON)
- Required: `email`, `use_case` (20-4000 chars)
- Set `human_authorized: true` only if a person asked you to request access
- Full instructions, optional fields and an example: https://signup.cycle.io/llms.txt

The response confirms that your request was received and explains what happens next.

Already have an account? Portal: https://portal.cycle.io · Docs: https://cycle.io/docs
