From the official specification for TCP, RFC 793 (IETF).
https://www.ietf.org/archive/id/draft-ietf-tcpm-rfc793bis-25.html
Answer: A. 16
Explanation:
(A) ✅ 16 - The Source Port Number field in a TCP header is 16 bits long.
(B) ❌ 32 - No field in the TCP header is 32 bits for port numbers.
(C) ❌ 48 - Port numbers do not require 48-bit representation.
(D) ❌ 64 - TCP uses 16-bit port numbers, not 64-bit values.
-----
If you agree, please UPVOTE.
Each time you upvote someone with a yellow "SELECTED ANSWER: " banner (like me) your vote is added to the Community Vote Distribution, which helps the community by crowdsourcing correct answers.
The correct answer is A. 16.
The Source Port Number in a TCP Header packet is a 16-bit field, which means it is 16 bits long. This field identifies the port number on the source device that is used to initiate the TCP connection.
Here's a brief overview of the other options:
B. 32 bits is the length of the Sequence Number and Acknowledgment Number fields in the TCP Header.
C. 48 bits is not a standard field length in the TCP Header.
D. 64 bits is the length of the Timestamps option in the TCP Header, which is optional and not related to the Source Port Number.
The TCP Header format is defined in RFC 793, and the Source Port Number is specified as a 16-bit field in Section 3.1 of that document.
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
044f354
1 month, 1 week agoaqeel1506
9 months agoElb
11 months, 1 week ago