Which of the following is/are example(s) of stateful application layer protocols?
(i) HTTP (ii) FTP (iii) TCP (iv) POP3
(A) (i) and (ii) only
(B) (ii) and (iii) only
(C) (ii) and (iv) only
(D) (iv) only
Answer: (C)
Explanation: In computing, a stateless protocol is a communications protocol that treats each request as an independent transaction that is unrelated to any previous request so that the communication consists of independent pairs of request and response.
Examples of stateless protocols (IP) and (HTTP)
Source: https://en.wikipedia.org/wiki/Stateless_protocol
TCP is stateful as it maintains connection information across multiple transfers, but TCP is not an application layer protocol.
Of the given protocols, only FTP and POP3 are stateful application layer protocols.
Quiz of this Question