TCP Header-Window Size Field

Duration: 8 min

This video lesson is available to enrolled students.

Return to /learn/CDAC-C-CAT-COMPLETE-PREPARATION/section-b-networking/transport-layer-services/tcp-header-fields/asset-tcp-header-window-size-field after enrolling

Inside: a video lesson and guided study material.

Module outline

  1. Section A | English: Vocabulary, Comprehension / Reading Comprehension / Unseen Passages (Critical Reasoning) (Paragraph Questions), Preposition, Sentence Correction (Error Correction), Sentence Completion (Fill in the blanks), Articles, Sentence Re-arrangements (Para Jumbles) (Narrative Sequencing), Verbal Analogy (Word Based Analogy)
  2. Section A | Quant Aptitude: Ratio and Proportion (Ratios), Mixture and Alligation, Permutation and Combination, Number System, HCF LCM, Sequence and Series (Series), Speed Time and Distance, Arithmetic, Algebra, Powers and Exponents (Surds and Indices), Average, Age Problems, Percentage, Profit and Loss, Partnership, Time and Work, Simple Interest and Compound Interest, Mensuration and Geometry, Probability, Pipe and Cistern
  3. Section A | Reasoning: Series (Number and Letter Series) (Numerical Relations and Reasoning), Coding Decoding, Data Sufficiency, Calendar, Clock, Blood Relations, Directions (Direction Test), Seating Arrangements, Ranking, Order and Sequence, Puzzle Solving (Puzzles)
  4. Section B | C Programming: C Programming by Yash Sir, Coding Questions by Yash Sir
  5. Section B | Data Structures: Algorithm Analysis, Greedy Algorithms, Time Complexity Analysis, Sorting Algorithms, Introduction to DS, Array, Stack, Queue, Linked List, Tree, Graphs
  6. Section B | OOP (C++): Object Oriented Programming (OOPS), Programming in C++
  7. Section B | OS: Introduction to OS, Process Management, CPU Scheduling, Process Synchronization, Threads & Process Creation, Deadlock, Memory Management, Virtual Memory, Disc Scheduling, File Management, Windows OS
  8. Section B | Networking: Introduction to CN, Data Communication, DLL: Access Control, DLL: Flow Control, DLL: Error Control, DLL: Framing, Data Link Layer - Ethernet, Net Layer: IPv4 & Proto, Net Layer: IP Addressing, Net Layer:Routing Protocol, Transport Layer Services, TL: Congestion & UDP, Application Layer, Hardware basics
  9. Section B | AI & Big Data Basics: AI & ML by Arun Sir, Big Data Systems
  10. Section C | Digital Electronics: Digital Systems & Boolean Basics, Logic Gates & Hardware, Boolean Expression, Boolean Minimization, Combinational Circuit, Sequential Circuits, Number System, Number Representation, Analog-Digital Conversion
  11. Section A, C | Comp. Fundamentals, COA: Basics of COA, Floating Point Rep, Cache Memory Organization, Input Output Organisation, Pipelining, Instr Formats & Modes, Control Unit Design, Register Transfer and Microoperations, Multiprocessors, Programming the Basic Computer
  12. MOCK TEST:
AI summary & chapters

AI Summary

An AI-generated summary of this video lecture.

The lecture introduces TCP flow control via the Window Size field, emphasizing that a sender must never transmit data exceeding what the receiver can accept. The 16-bit field defines the number of bytes reserved by the receiver, capping the window at 2^16 = 65,535 bytes. The instructor maps this to a sender-receiver diagram (RC/RS) and notes that the receiver determines the window size. Later, the slide explains that 14 additional bits can be taken from options to extend the window size to 30 bits, allowing up to approximately 1GB of advertised data.

Chapters

  1. 0:00 – 2:00 00:00-02:00

    The slide titled "Window Size/Advertisement window(Flow control)" presents the core principle: "Basics idea is a sender should never send what a receiver can not receive." A TCP header table lists "Window size 16 bits" alongside "Sequence number 32 bits" and a blue bar for "Options and padding (up to 40 bytes)." A segment diagram shows a Header box and Data bar marked "20 to 60 bytes." The instructor begins explaining that the window size field defines the receiver's reserved buffer space.

  2. 2:00 – 5:00 02:00-05:00

    The instructor draws a whiteboard diagram with labels "RC" (receiver) and "RS" (sender) to illustrate flow control. Handwritten annotations show the calculation "2^16 = 65,535" and a box labeled "16KB," linking the 16-bit field length to its maximum byte capacity. The instructor points directly at the "Window size 16 bits" field in the TCP header table, emphasizing that this value is determined by the receiver and dictates how much data the sender may transmit. The slide text reiterates: "Note that the length of this field is 16 bits, which means that the maximum size of the window is 65,535 bytes."

  3. 5:00 – 7:49 05:00-07:49

    The lecture transitions to extending the window size. The slide states that the 16-bit field advertises very little data, but "additional 14 bits can be taken from options so total size become 30 bits or 1GB." Red pen marks circle "14 bits can be taken" and underline the second bullet. Handwritten notes on the right show "2^" next to a circled "1GB," with a crossed-out boxed "64." The segment diagram and TCP header table remain visible, reinforcing that the options field (up to 40 bytes) provides space for these extra bits.

The lecture progresses from defining the TCP Window Size field to calculating its maximum capacity and finally extending it via options. Key concepts include: (1) Flow control principle—sender must not exceed receiver capacity; (2) The 16-bit window size field limits the advertised window to 65,535 bytes (2^16); (3) The receiver determines the window size; and (4) 14 additional bits from options extend the field to 30 bits, enabling up to ~1GB of advertised data. The worked example involves computing 2^16 = 65,535 and recognizing the limitation of 16 bits for modern high-bandwidth links. The transition from basic definition to extension via options highlights a practical TCP design consideration.

Loading lesson…