COMPUTER FUNDAMENTALS

COMPUTER NETWORKS AND COMMUNICATIONS

NETWORK TOPOLOGIES AND PROTOCOLS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Multiple objects can be sent over a TCP connection between client and server in a persistent HTTP connection.
A
True
B
False
C
Either A or B
D
None of the above
Explanation: 

Detailed explanation-1: -Multiple objects can be sent over a TCP connection between client and server in a persistent HTTP connection. Explanation: Persistent connections are kept active after completing transaction so that multiple objects can be sent over the same TCP connection.

Detailed explanation-2: -A persistent connection, also known as a Hypertext Transfer Protocol (HTTP) persistent connection, refers to a network communication channel that remains open for further HTTP requests and responses instead of closing after a single exchange.

Detailed explanation-3: -In non-persistent HTTP, the client opens a TCP connection to the server, sends at most one object over the connection using the request/response, and then closes the connection. Thereby, downloading multiple objects requires multiple connections. In persistent HTTP, the client opens a TCP connection to the server.

Detailed explanation-4: -TCP connections that are kept open after transactions complete are called persistent connections. Nonpersistent connections are closed after each transaction. Persistent connections stay open across transactions, until either the client or the server decides to close them.

Detailed explanation-5: -Therefore, HTTP is called a stateless protocol. HTTP can use both nonpersistent connections and persistent connections. A nonpersistent connection is the one that is closed after the server sends the requested object to the client. In other words, the connection is used exactly for one request and one response.

There is 1 question to complete.