Machine-translated by Google. Questions are authored in English.
Top

Discussion

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

  • A.Any size
  • B.2^16 bytes-size of TCP header
  • C.2^16 bytes
  • D.1500 bytes

Answer: A

The application layer can pass data of any size.

TCP provides a byte stream. The application hands it data of whatever length it likes, and TCP itself divides the stream into segments that fit the network, numbering the bytes so the receiver can reassemble them in order.

The 2^16 limits belong to the length fields of a single IP datagram or UDP datagram, not to what an application may pass to TCP, and 1500 bytes is the usual Ethernet MTU, a link-layer limit.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.