Originally posted by Byron Estes:
Converstational state between request/responses is not maintained, but a socket connection is established between the client and the server for communication.
Therefore it is connection based, but conversationally stateless.
The HTTP protocol is connectionless and stateless After the server has responded to the client's request, the connection between client and server is dropped and forgotten. There is no "memory" between client connections. The pure HTTP server implementation treats every request as if it was brand-new, i.e. without context.
Describe connection-oriented network service and connectionless network service, and identify the key differences between them
There are two basic types of Transport layer methods: Connection-oriented and Connection-less. Connection-oriented network services are reliable, guarantee delivery of data while connectionless network services are unreliable, and provide only best effort delivery.
With TCP/IP there are two different categories of services.
- TCP (Transmission Control Protocol) is used for connection-based reliable delivery of data (example: HTTP, FTP, Telnet services).
- UDP (User Datagram Protocol) is used for connection-less transmission with unreliable best effort delivery (example: RealAudio, QuickTime streaming, and TFTP).
Originally posted by Seid Myadiyev:
is HTTP "connection-less" or "connection-based"?
Different exams give different answers!
But what is the CORRECT answer for the SCEA Exam?