Main menu
Definition

Windowing

Windowing, during data transfer, is when a receiving system alerts the sending system that the capacity, or window size, for processing data has been reached. Learn how windowing works in TCP, how it relates to congestion control, and why it affects network performance.

DTDevolutions Team·November 12, 2026·2 min read

What is windowing?

Windowing is a flow-control technique used in network protocols, most notably TCP. The window is the amount of data a sender may transmit before it must wait for an acknowledgment from the receiver. The receiver advertises its window size based on how much buffer space it has available. When the window fills, the sender pauses until the receiver confirms it has processed data and opens more room.

How does windowing work?

  1. During the connection, the receiver tells the sender its receive window: how many bytes it can accept right now.
  2. The sender transmits data up to that limit without waiting for each segment to be acknowledged.
  3. As the receiver processes data, it sends acknowledgments and updates the window size.
  4. If the receiver's buffer fills, it advertises a smaller window, or a zero window, telling the sender to stop until space is available.

This is called a sliding window, because the range of data allowed in flight slides forward as acknowledgments arrive. TCP also uses a congestion window on the sender side to avoid overloading the network, and the effective window is the smaller of the two. Window scaling lets modern connections use windows much larger than the original 64 KB limit.

Windowing vs. congestion control

Flow control through the receive window protects the receiver from being overwhelmed. Congestion control protects the network between them. Both limit how much data is in flight, but they respond to different signals.

Why does windowing matter?

Window sizes directly affect throughput, especially on high-latency links: a window that is too small leaves bandwidth unused. Recognizing zero-window events and small windows in packet captures helps diagnose slow transfers, sluggish remote sessions, and overloaded servers.

Frequently asked questions

What is windowing?

Windowing, during data transfer, is when a receiving system alerts the sending system that the capacity (window size) for processing data has been reached.

What is a TCP zero window?

A zero window means the receiver's buffer is full, so it tells the sender to stop sending until it has processed data and can accept more.

What is TCP window scaling?

Window scaling is a TCP option that allows window sizes larger than 65,535 bytes, which improves throughput on fast or long-distance connections.

Keep remote sessions responsive

Centralize RDP, SSH, VNC, web, and cloud console connections in one app.

Explore Remote Desktop Manager

Related terms

Transmission Control Protocol (TCP)

Transmission Control Protocol (TCP) is a communication standard for establishing and maintaining a two-way delivery stream of octets between two endpoints on a shared network.

Read now →

Packet

A packet is a section of data that has been divided into several pieces for easier transfer and is later reassembled with its counterparts to form a whole.

Read now →

Octet

An octet is an eight-bit byte.

Read now →