Stateless protocol
is a communications protocol in which no information is retained by either sender or receiver.
HTTP(Stateless | Application Layer | Uses TCP (80)) - No information is maintained. If in some case state maintenance is required then cookies are used. Now HTTPS is HTTP over a secure connection So it is also stateless.
FTP (Stateful | Application Layer | Uses TCP (20 and 21)
) server that conducts an interactive session with the user. During the session, a user is provided a means to be authenticated and set various variables (working directory, transfer mode), all stored on the server as part of the user's state.
TCP (Stateful / Transport Layer)
various information related to connection is maintained.
BGP (Stateful / Application Layer / Uses TCP )
and Finite state Automata is also used for maintaining state information.
POP3 (Stateful / Application Layer / Uses TCP(110)
)
In General if some authorization is required then stateful designed is used.
Stateless protocol
is a communications protocol in which no information is retained by either sender or receiver.
HTTP(Stateless | Application Layer | Uses TCP (80)) - No information is maintained. If in some case state maintenance is required then cookies are used. Now HTTPS is HTTP over a secure connection So it is also stateless.
FTP (Stateful | Application Layer | Uses TCP (20 and 21)
) server that conducts an interactive session with the user. During the session, a user is provided a means to be authenticated and set various variables (working directory, transfer mode), all stored on the server as part of the user's state.
TCP (Stateful / Transport Layer)
various information related to connection is maintained.
BGP (Stateful / Application Layer / Uses TCP )
and Finite state Automata is also used for maintaining state information.
POP3 (Stateful / Application Layer / Uses TCP(110)
)
In General if some authorization is required then stateful designed is used.