COMPUTER NETWORKING

TRANSPORT LAYER

INTRODUCTION

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Consider a TCP connection in a state where there are no outstanding ACKs. The sender sends two segments back to back. The sequence numbers of the first and second segments are 230 and 290 respectively. The first segment was lost, but the second segment was received correctly by the receiver. Let X be the amount of data carried in the first segment (in bytes), and Y be the ACK number sent by the receiver. The values of X and Y (in that order) are
A
60 and 290
B
230 and 291
C
60 and 231
D
60 and 230
Explanation: 

Detailed explanation-1: -The following sequence shows the flow of a TCP connection: The server creates the listener socket that is waiting for remote clients to connect. The client issues the connect () socket function to start the TCP handshake (SYN, SYN/ACK, ACK).

Detailed explanation-2: -This state is represented as LISTEN. When a new TCP connection is opened, the client (initiator) sends a SYN packet to the server (receiver) and updates its state to SYN-SENT. The server will then send a SYN-ACK in reply to the client which changes its connection state to SYN-RECEIVED.

Detailed explanation-3: -II : TCP has no option for selective acknowledgments. This is FALSE statement. TCP may experience poor performance when multiple packets are lost from one window of data. With the limited information available from cumulative acknowledgments, a TCP sender can only learn about a single lost packet per round trip time.

There is 1 question to complete.