Consider a TCP message that contains 1024 bytes of data and 20 bytes of TCP header is passed to IP for delivery across two networks interconnected by a router (i.e., it travels from the source host to a router to the destination host). The first network has an MTU of 1024 bytes and the second has an MTU of 576 bytes. If all packets are correctly delivered, the number of bytes, including headers, are delivered to the IP layer at the destination for TCP message, in the best
case is _________ bytes. (Assume all IP headers are 20 bytes)
MY DOUBT IS IS INVOLVING 2 CASES:
1) DOES THE TCP WILL GENERATE SEGMENT 1024+20(HEADER). i.e. 1044 BYTE SINGLE SEGMENT
OR
2)DOES THE TCP GENERATE 2 SEGMENT FIRST ONE (984+20) SECOND ONE (40+20)
P.S. "answer give is according to the 1044 single segment " . But as maximum tcp segment size we know at sender to be 1004(according to MTU=1024) then why have we considered a single segment of size 1044 size