What would you like to do?

Difference between stateless protocol and statefull protocol?

already exists.

Would you like to merge this question into it?

already exists as an alternate of this question.

Would you like to make it the primary and merge this question into it?

exists and is an alternate of .

stateless Protocol:-
1).When stateless protocol is used between a server and the client, the server does not remember anything. It treats any message from a client as the client's first message and responds with the same effects every time
2). A stateless server does not keeps state between connections.=>So,When you send a request to a stateless server, it does not create any objects that track information regarding your requests. If you "open" something on the server, the server retains no information at all that you have something open. A "close" operation would make no sense, since there would be nothing to close.
3). A stateless system can be seen as a box ,where at any point in time the value of the output(s) depends only on the value of the input(s) after a certain processing time.
4). A stateless protocol does not require the server to retain session information or status about each communications partner for the duration of multiple requests.
5). stateless sessinobean:can not maintain the state,cannot maintain the persistance(data base),onece sutdown machine,we cannot see that data,cannot have the passivate,activate states. ex:atm mini statements.
Example = UDP(User Datagram Protocol) , HTTP, NFS
Statefull Protocol :-
1). Stateful protocol means the server remembers what a client has done before.
2). .A stateful server keeps state between connections.=> when you send a request to a stateful server, it may create some kind of connection object that tracks what information you request. When you send another request, that request operates on the state from the previous request. So you can send a request to "open" something. And then you can send a request to "close" it later. In-between the two requests, that thing is "open" on the server.
3). a stateful system is like a state machine with "memory" as the same set of input(s) value can generate different output(s) depending on the previous input(s) received by the system.
4). a protocol which requires the keeping of internal state is known as a stateful protocol.
5). statefull Protocol :- maintain the state,but cannot maintain the persistance,once we shutdown the system the values stored in local hard disc,can have the passivate and activate states. ex:shopping cardExample = SMB, FTP,Telnet

+ 49 others found this useful
Thanks for the feedback!

What is the difference between a techniques and protocol?

A protocol is a set of rules which is used by computers to communicate with each other across a network. A protocol is a convention or standard that controls or enables the co

What is the difference between a connection-oriented protocol and a connectionless protocol?

In connection-oriented protocol, authentication is needed while this is not case in connectionless protocol.In connection-oriented protocol, we have to establish connection be

What is the difference between protocol and interface?

An interface refers to a point of interaction between components, whether a piece of hardware such as a graphics card or a piece of software such as an internet browser to fun

Why HTTP is called a stateless protocol?

Because it does not keep state. When you navigate to a webpage, you send a request to the web server, from an http perspective, the web sever sends the request to you, and you

Difference between Forwarding protocols and Routing Protocols?

Both of these are used in the network layer for the purpose of data sending on different paths. In the forwarding network layer function, the data or packet is transferred f

What is meant by stateless protocol?

  Commonly, a stateless protocol refers to protocols which do not save session state between connections. An example of stateless protocol is HTTP.

Difference between arp protocol and rarp protocol?

ARP (Address Resolution Protocol) is used resolve known IP Address to the Machines MAC Address (Layer 2 - OSI Layer). Whereas RARP is used to resolve IP Adresses from know lay

What is difference between topology and protocol?

Network topology is the physical design of a LAN which resolves the conflict that occurs between computers on the network attempting to transmit at the same time. Whereas prot

Why Http known as stateless protocol?

  HTTP is called a stateless protocol because each command is executed independently, without any knowledge of the commands that came before it. This is the main reason th

What is the difference between a port and a protocol?

port as a phone extension, with the computer's IP address being like its phone number. You can call the number (IP address) to talk to the computer, then dial the extension (p

What is HTML stateless protocol?

  HTTP is called a stateless protocol because each command is executed independently, without any knowledge of the commands that came before it. This is the main reason th

What is the difference between service and protocol?

    Protocol is the special set of rules that end points in a telecommunication connection use when they communicate.   In other words Protocol is an agreed-upon fo

What is the difference between protocol and guidelines?

Guidelines are defined as systematically developed statements to  assist practitioner and patient decisions about appropriate health  care for specific clinical circumstance

What is differences between protocol and service?

  A service is a program on the computer that provides a function for your software, such at the NetBIOS service that connects windows workgroup machines, or the DHCP Clie

What is the differences between sop and protocol?

An SOP (Standard Operating Procedure) is essentially a document used to instruct HOW something is performed where a protocol is used to define a set of rules or regulations as

Why is HTTP is known As Stateless Protocol?

  A stateless protocol refers to protocols which do not save session state between connections. In HTTP it shows this property. So, HTTP also known as stateless protocol.