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

2 people found this useful

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 that it is difficult to implement Web sites that react intelligently to user input. This shortcoming of HTTP is being addressed in a number of new technologies, including ActiveX, Java, JavaScript and cookies.

What is the difference between protocol and guidelines?

Guidelines are defined as systematically developed statements toassist practitioner and patient decisions about appropriate healthcare for specific clinical circumstances. Protocols are a preciseoutline for the study of a biomedical problem or for a regimen oftherapy.

What are protocols?

Protocols are the set of rules need to be followed to to reach the destination

What is the difference between service and protocol?

\nProtocol is the special set of rules that end points in a telecommunication connection use when they communicate.\nIn other words Protocol is an agreed-upon format for transmitting data between two devices. The protocol determines the following:\n . the type of error checking to be used\n . data compression method, if any\n . how the sending device will indicate that it has finished sending a message\n . how the receiving device will indicate that it has received a message\n . \n. \nService is a program, routine, or process that performs a specific system function to support other programs, particularly at a low (close to the hardware) level

What is the different between igp protocol bgp protocol?

Interior Gateway Protocol IGB runs between two routers in the same autonomous system AS, whereas EGP runs between routers that belong to different AS's. Both protocols are two flavours of BGP.

What are different between link state and distance vector protocol?

The link state protocol can identify when when a destination can be reached through faster connections, even if it is more hops than other possible routes. Distance vector will pick the route with the lowest hop count. by Nelson Thoms

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 form one incoming link and then reached to the other outgoing link, the main thing is that all these transfer of packets is done within a single router. When any packet reach at the input link of the router, then router must have to transfer the packet to its correct output link. On the other hand the routing function is used to send the packets form one PC to another PC within two different routers. Its means that routing occur between the two routers of network, their combined communication by means of routing protocols decide the routes or paths, that packets would acquire, on their journey from source to destination. It is the responsibility of the network layer that, it would decide the appropriate path for the packet, for sending it to its desired receiver. For selecting the correct path for sending the data, the network layer use the routing algorithm. The routing algorithm is responsible for choosing the best path out of many paths. Means the path which is more clear, short and with out hurdles.

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 between sender and receiver while this is not case in connectionless protocol. . Example of connection-oriented protocol is TCP and the example of connectionless protocol is UDP,Internet. . TCP is a connection-oriented protocol, it makes a connection and checks whether the data is received, and resends if it is not. UDP is a connectionless protocol, it does not guarantee delivery by first connecting and checking whether data is received.

Explain the difference between a connection-oriented protocol and a connectionless protocol?

A connection-based protocol uses a technique known as hand-shaking. This means that every packet that is transmitted needs a reply, so that the sender knows the packet arrived correctly. It relies on quality of transmission for this purpose. Connection-based protocols also have error detection and correction, flow control as well. A connection-less protocol has none of the features above. It relies on speed, not quality, so it does not check or wait for a response from the receiver for any packets that are transmitted.

What is the difference between a procedure and a protocol?

You are preparing for an outbreak of 'salmonella food poisoning'. Devise an outline policy, a procedure and a protocol that you would find useful in this situation. What are the main differences between them

Difference between protocol and convention?

Protocol is the procedures set down that are to be followed in any given situation; this meaning could also apply to convention. Another meaning for convention is a meeting of a group of people for a particular purpose. It also is a meeting of a group of countries on what to do when a specific subject arises.

Difference between serial line internet protocol and point to point protocol?

PPPis more secure than SLIP. PPP uses two authetication Protocols : 1. Password Authetication Protocol (PAP) 2. Challenge Handshake Authetication Protocol (CHAP) So if you use SLIP on network that unauthorized user can gain acces to.

Differences between bit-oriented and byte-oriented protocols?

In bit oriented Protocol, a flag is used to frame the bits sent. Simply put, you have a fllag (01111110) and the required bits are sent after the flag and you end the transmission again with a flag. Using this method you can send any number of bits of any length. Another important fact is the zero insertion method used. Say for example, you want to send the bit string 01111110. You cannot do this because it will be interpreted as a flag. However, by adding a zero after 5 consecutive 1's as a standard, this bit stream can be send. The transmitter sends the string as 011111010 and the receiver removes the zero after 5 consecutive 1's and stores the data as 01111110 In byte oriented protocol(character oriented protocol) the receiver considers 8 bits at a time and figuers out the relevant character. This system is used when communicating with printers and keyboards which use ASCII characters exclusively. (All the ASCII characters can be covered by 8 bits (256 characters). The main disadvantade of COP is that you cannot send 9 or 10 bits, arbitrary bits. Furthermore, in COP there are special characters - channel control characters, eg- SYN character which is used to synchronize the receiver and the transmitter. These characters cannot be transferred as data. They will be misread as control characters.

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 Client that acquires a network address for your computer when you connect to the internet. \nA protocol is a language the computer uses to exchange information. For example, TCP/IP is used to negotiate connection and transfer data over the Internet, and HTTP is a protocol that handles transferring data between WWW servers, and clients.

What are the Differences between IP and UDP protocols?

1. IP works at network layer, UDP works at transport layer. . 2. UDP carries application data, IP carries TCP segments or UDP datagrams.

What is the difference between routable and non-routable protocols?

A routable protocol contains a network address as well as a deviceaddress. Non-routable protocol, on the other hand, regulate thetransfer of data and always makes use of interior routing system totransmit data.

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 function independently while communicating with other components via protocol. A protocol is a convention or standard that controls or enables the connection, communication, and data transfer between computing endpoints, or interfaces.

Difference between push protocol and pull protocol?

> "Pull" protocols are those that put some data out there to be accessible > via a URL. The data does not change based on who requests the > information. Yadis is such a protocol, since when an Relying Party goes > to fetch the data, there is no specified way to change the data based on > who is requesting it. > > "Push" protocols are those that allow the user to modify the data based > on who is requesting it. OpenID is such a protocol: the data is > transmitted by redirecting the user between the Relying Party and the > Identity Provider, and the user can choose to have the Identity Provider > send his or her authentication information or to cancel the transaction.

Difference between priority inheritance and priority ceiling protocol?

priority inheritance: when a job blocks one or more high priority jobs, it ignores its original priority assignment and executes its critical section at the highest priority level of all the jobs it blocks. priority ceiling: gives each shared resource a predefined priority ceiling. When a task acquires a shared resource, the task is hoisted (has its priority temporarily raised) to the priority ceiling of that resource. It will not see whether the job has been blocked or not, simply it raises to the priority of the shared resource.

What is the difference between network layer and network layer protocol?

A network layer refers to one of the actual 7 layers. The network layer protocol is actually the system it uses, possibly the order that the layers are done by?

How do routing protocols and routable protocols differ?

A routing protocol refers to a protocol that is only used betweenrouters, such as OSPF and EIGRP. A routed protocol, meanwhile,refers to a protocol wherein data can be routed, such a IP,AppleTalk, and IPX.

What is the difference between Interior gateway protocol and Exterior gateway protocol?

Interior vs. Exterior Routing Protocol Routing is the process of moving data from one network to another. Routing is unnecessary unless you have multiple networks on different address ranges different combinations of IP addresses and subnet masks, for example). If you don't, you need to look at bridging or switching. You don't need to run a routing protocol unless you have multiple networks served by more than one router (and even then, manual static routes are easier for small networks). Once you get beyond three routers, it's time to start thinking about dynamic routing protocols. If you are connecting your networks to the Internet, you will also need to think about running more than one kind of routing protocol. INTERIOR GATEWAY PROTOCOLS Interior Gateway Protocols (IGPs) handle routing within an Autonomous System (one routing domain). In plain English, IGP's figure out how to get from place to place between the routers you own. These dynamic routing protocols keep track of paths used to move data from one end system to another inside a network or set ofnetworks that you administrate (all of the networks you manage combined are usually just one Autonomous System). IGP's are how you get all the networks communicating with each other. IGP's fall into two categories: Distance Vector Protocols Routing Information Protocol (RIP) Interior Gateway Routing Protocol (IGRP) Link State Protocols Open Shortest Path First (OSPF) Intermediate System to Intermediate System (IS-IS) EXTERIOR GATEWAY PROTOCOLS To get from place to place outside your network(s), i.e. on the Internet, you must use an Exterior Gateway Protocol. Exterior Gateway Protocols handle routing outside an Autonomous System and get you from your network, through your Internet provider'snetwork and onto any other network. BGP is used by companies with more than one Internet provider to allow them to have redundancy and load balancing of their data transported to and from the Internet. Examples of an EGP: Border Gateway Protocol (BGP) Exterior Gateway Protocol (Replaced by BGP)

What is the difference between osi model and transmission control protocol?

There's no difference, or better said, these are two noncomparable things. The OSI model is a way to describe network transmission, from the cables, the things that go on in the cables (the voltages/currents on the lines), the ways of attaching devices to the cables, the ways for packets of data to find their way on the cables, the ways for ensuring that the data packets are transmitted correctly (in many different ways "correctly"), the ways for allowing different programs access the network at the same time without interfering with each other. The ISO model also encompasses encryption and other things. TCP is basically just one concrete implementation of one task of this list, namely the "ways for ensuring that the data packets are transmitted correctly". There are other implementations that have the same jobs and fulfill them in other ways.

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 that it is difficult to implement Web sites that react intelligently to user input. This shortcoming of HTTP is being addressed in a number of new technologies, including ActiveX , Java , JavaScript and cookies .

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 connectionless and connection-oriented protocol?

1. In connectionless communication there is no need to establish connection between source (sender) and destination (receiver). But in connection-oriented communication connection must established before data transfer.. 2.Connection-oriented communication is more reliable then connectionless communication.. 3.In connection-oriented communication information can be resend if there is an error in receiver side ( missing data, corrupt data etc. ).But in connectionless communication it is not possible because the destination does not inform the source about data is received or not.. 4. Connection-oriented communication have higher overhead and and place greater demands on bandwidth. But in connectionless communication requires far less overhead than connection-oriented communication.

What is the difference between a protocol and a procedure?

Protocol is an original draft of a document or rules governingaffairs of occasions. A procedure is something specific that has tobe followed.

Difference between File transfer protocol and hypertext transfer protocol?

File Transfer Protocol (FTP), a standard Internet protocol , is the simplest way to exchange files between computers on the Internet. Like the Hypertext Transfer Protocol ( HTTP ), which transfers displayable Web pages and related files, and the Simple Mail Transfer Protocol ( SMTP ), which transfers e-mail, FTP is an application protocol that uses the Internet's TCP/IP protocols. FTP is commonly used to transfer Web page files from their creator to the computer that acts as their server for everyone on the Internet. It's also commonly used to download programs and other files to your computer from other servers.

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 connection, communication, and data transfer between computing endpoints. In its simplest form, a protocol can be defined as the rules governing the syntax, semantics, and synchronization of communication. Protocols may be implemented by hardware, software, or a combination of the two. At the lowest level, a protocol defines the behavior of a hardware connection.A technique is a procedure used to accomplish a specific activity or task.

Are HTML applications statefull or stateless?

Stateless, by default. HTML's parent protocol, HTTP, is a idempotent, stateless protocol. However, we have means using Javascript, PHP, Perl, Ruby, ASP, etc. to add a state an application. But, using only HTML, it's not possible.

Difference between CAN and LIN communication protocol?

Can is two wired while LIN is single wire protocol. Can is costly than LIN. Can needs synchronization But LIN is self synchronizing by sending 0x55.

What is the differences between routing and routed protocols?

Routing protocols are used by routers (RIP, EIGRP, OSPF) Routed protocols are the actual protocols on the wire (TCP/IP)

What is the difference between routable and nonroutable protocols?

A routable protocol (TCP/IP) can have its packets forwarded (or blocked) to other network segments according to network addressing. A routable protocol (NETBEUI) does not contain network addressing, so it can only communicate between computers in the same network segment.

Advantages of a stateless protocol for the WWW?

The stateless design simplifies the server design because there is no need to dynamically allocate storage to deal with conversations in progress. If a client dies in mid-transaction, no part of the system needs to be responsible for cleaning the present state of the server. A disadvantage of statelessness is that it may be necessary to include additional information in every request, and this extra information will need to be interpreted by the server.

What is the difference between procedure protocol and policy?

A policy is a general description of what the organization wants to accomplish in a particular area. A protocol is a step-by-step description of how something is accomplished. A procedure may be a protocol, or it may be a less specific description of how to accomplish a particular task.

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 layer 2 address. ARP is still used while RARP has been replaced with DHCP.

Difference between Bit-oriented protocol and byte oriented protocol?

In bit oriented Protocol, a flag is used to frame the bits sent. Simply put, you have a fllag (01111110) and the required bits are sent after the flag and you end the transmission again with a flag. Using this method you can send any number of bits of any length. Another important fact is the zero insertion method used. Say for example, you want to send the bit string 01111110. You cannot do this because it will be interpreted as a flag. However, by adding a zero after 5 consecutive 1's as a standard, this bit stream can be send. The transmitter sends the string as 011111010 and the receiver removes the zero after 5 consecutive 1's and stores the data as 01111110 In byte oriented protocol(character oriented protocol) the receiver considers 8 bits at a time and figuers out the relevant character. This system is used when communicating with printers and keyboards which use ASCII characters exclusively. (All the ASCII characters can be covered by 8 bits (256 characters). The main disadvantade of COP is that you cannot send 9 or 10 bits, arbitrary bits. Furthermore, in COP there are special characters - channel control characters, eg- SYN character which is used to synchronize the receiver and the transmitter. These characters cannot be transferred as data. They will be misread as control characters.

What is difference between protocol and report?

the two are not synonymous . you cant compare them Think of a protocol as a set of rules.

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. This shortcoming of HTTP is being addressed in a number of new technologies, including ActiveX, Java, JavaScript and Cookies. .

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 protocols are the standards used by networks to permit communication between network-connected devices. -s74

What the difference between protocol stack and protocol suite?

- In your own words, define the term 'protocol' and what is the difference between protocol and protocol suite

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 associated with a specific area or system. An SOP is used to instruct HOW to write a protocol.

Which protocol routes between different autonomous systems?

The protocols used to distribute routing information between AS's are known as Exterior Gateway Protocols (EGP's).

What are the differences between SMTP and HTTP protocol?

STMP is the Simple Mail Transfer Protocol , Which is used to Send Email, HTTP runs on 99% Of Sites.

What is the difference between RARP and DHCP protocols?

RARP help the PC to find its MAC address in the same network from the RARP Server. RARP Serveronly provide the IP adress to the PC by remembering its MAC.. DHCP works on the same way but DHCP Server provide the PC its IP address, Subnetmask, Default Gateway and DNS Server etc.... So the big difference is DHCP provide more information than your RARP Server..

What is the difference between UDP and the TCP protocol?

Both the protocols differ in the way they carry out communication , also both are network layer protocols . A TCP protocol establishes a two way connection between a pair of computers , while the UDP protocol is one-way message sender. That is in TCP, Acknowledgement is also sent after receiving the message while there is no such acknowledgement sent after receiving the message in UDP.

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 are disconnected. It has not idea what page you requested prior to this. Often we need to keep state in web sessions, and there are various tools for this (think cookies). But those things are not part of the http protocol, and the http server is not really aware of the history of your connection. By contrast, a telnet session is state-full. When you connect to a telnet server you give it credentials, it knows who you are, and can allow you appropriate access throughout your session based off that.

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 (port) to talk to a specific application. An application needs to be listening on a port in order to communicate. A Protocole is just the language that the two applications on either end of a conversation agree to speak in. If your application is sending streams of bytes to my application, my application needs to know how to interpret those bytes.

What is the difference between procedures and protocols?

A procedure is a set way to do something. A step by step process. Protocols are guidelines only on how to do something.

What is the difference between NAFTA and the Kyoto protocol?

They are completely different. NAFTA is the North American Free Trade Agreement, allowing freetrade between Canada, the US, and Mexico. The Kyoto Protocol is an International Treaty between mostcountries of the world to reduce greenhouse gas emissions that arecausing Global Warming.