CS FundamentalsHardGATE CS · Product company CS fundamentals
A client sends SYN with seq = 7000. The server replies SYN-ACK with seq = 22000. The client then sends the final ACK carrying 100 bytes of data, and the server answers with 50 bytes of data. What are the seq and ack numbers on that server data segment?
- A. seq 22001, ack 7101
- B. seq 22000, ack 7100
- C. seq 22001, ack 7100
- D. seq 22050, ack 7101
Correct answer: A. seq 22001, ack 7101
SYN consumes one sequence number on each side: client data starts at 7001 and server data at 22001. The client's 100 bytes cover 7001–7100, so the server acknowledges 7101, and its own first data byte is 22001.
More Computer Networks questions
- How many /27 subnets fit inside the block 172.16.64.0/18, and how many usable hosts does each have?
- A network admin knows that 10.1.37.6 and 10.1.42.200 are in the same subnet while 10.1.48.1 is in a different one. Which subnet mask is…
- An IPv4 packet has HLEN = 8 and total length = 1000. How many bytes of options does the header carry, and how many bytes of payload does…
- A long-lived TCP Reno flow is in steady state congestion avoidance: its window grows by 1 MSS per RTT up to W = 40 segments, then a single…
- A transport protocol numbers BYTES (like TCP). On a 10 Gbps link with a maximum segment lifetime of 120 s, how many sequence-number bits…
- In a TCP connection the client calls close() first and the server closes later. Which sequence of states does the SERVER go through from…