GATE / CS ARCHIVE

GATE CSE 2008 / QUESTION 14

Application data size passed to TCP

Computer Networks · Transport, Congestion Control & Traffic Shaping · Full GATE CSE 2008 paper

GATE 2008, Q14 1 mark · MCQ
Report issue

Transport, Congestion Control & Traffic Shaping

Question 14, GATE 2008: What is the maximum size of data the application layer can pass to TCP?

(A) Any size
(B) 2^16 bytes minus TCP-header size
(C) 2^16 bytes
(D) 1500 bytes
Tap to enlarge
Your answer
Answer & solution

Answer: A (no official key was published)

1. TCP offers applications an ordered byte stream, rather than one application-message-per-packet service.
2. TCP divides that stream into segments; IP and link-layer limits constrain individual packets/frames, not the total stream length.
3. Thus neither 1500 nor 216 bytes is a maximum application stream size. A is intended. Real API calls may still impose implementation-specific buffer limits.

Original paper, page 4