The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
+18 votes
3.4k views

What is the maximum size of data that the application layer can pass on to the TCP layer below?

  1. Any size

  2. $2^{16}$ bytes - size of TCP header

  3. $2^{16}$ bytes

  4. 1500 bytes

asked in Computer Networks by Veteran (68.8k points) | 3.4k views

3 Answers

+25 votes
Best answer

OPTION A

Its transport layers responsibility to divide data in to fragments/ packets. Application layer need not worry about it.

answered by Veteran (10k points)
edited ago by
+4 votes
ans a)
answered by Boss (5.1k points)
+3 votes
Application layer can give any amount of data to application layer and it is responsibilty of transport layer to di segmentation for better servicing of network layer.

Option -A
answered by Boss (7.6k points)
what does this mean "Application layer can give any amount of data to application layer" ??
This mean data sent by application layer to transport layer. Application layer can sent any amount of data to transport layer
And if we talk about transport layer, then how much data (max) it can send to network layer?

is there any such limit?
In transport layer ethernet has a limit of sending data. Min data size:- 46B to 1500B where as frame size is 64B to 1518B.

Application layer: can send any size of data

Transport Layer: It is a stream-based protocol,it chunks the data in MSS and add the header.MSS is 1460 and by default 536 byte.packet exceeding MSS aren't fragmented, they are simply discarded.

Network Layer:max payload length=1480 byte

DLL: MTU=1500 byte

The absolute limitation on TCP packet size is 64K (65535 bytes), but in practicality, this is far larger than the size of any packet you will see, because the lower layers (e.g. ethernet) have lower packet sizes.Initially, its default value is 536 B .
@reena

but 1500B MTU is in ethernet only, or is it for every LAN standard..?
@warrior

true, bcoz of 16 bits in total length field of IP right..?


Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true

32,330 questions
39,146 answers
108,247 comments
36,501 users