GATE 2016 CS – Question 35
Which of the following is/are example(s) of stateful application layer protocols?
(i) HTTP
(ii) FTP
(iii) TCP
(iv) POP3
Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: (C) (ii) and (iv) only
Explanation
FTP and POP3 keep information about the session, such as the logged-in user and the current directory or mailbox, so they are stateful. HTTP does not remember earlier requests, so it is stateless. TCP is a transport layer protocol, not an application layer protocol.