Transport Layer questions

Q14

GATE CS 2017 CS-1Transport LayerMCQ1 mark−1/3 if wrong
Consider a TCP client and a TCP server running on two different machines. After completing data transfer, the TCP client calls close to terminate the connection and a FIN segment is sent to the TCP server. Server-side TCP responds by sending an ACK, which is received by the client-side TCP. As per the TCP connection state diagram (RFC 793), in which state does the client-side TCP connection wait for the FIN from the server-side TCP?
Show answer without attempting

Answer: D

Q18

GATE CS 2017 CS-2Transport LayerMCQ1 mark−1/3 if wrong
Consider socket API on a Linux machine that supports connected UDP sockets. A connected UDP socket is a UDP socket on which connect function has already been called. Which of the following statements is/are CORRECT?

I. A connected UDP socket can be used to communicate with multiple peers simultaneously.
II. A process can successfully call connect function again for an already connected UDP socket.
Show answer without attempting

Answer: B

0/20 correct0 marks

Related topics in Computer Networks