In one of the pairs of protocols given below , both the protocols can use multiple connections between the same client and the server. Which one is that?
View worked solution
Answer: A
To determine which pair of protocols can use multiple TCP connections between the same client and server, let us analyze each protocol:
- FTP (File Transfer Protocol): FTP uses an "out-of-band" control mechanism. It establishes two parallel TCP connections:
- A control connection (usually on port 21) for sending commands and receiving replies.
- A data connection (usually on port 20) created dynamically for each file transfer.
- HTTP (Hypertext Transfer Protocol): HTTP can use multiple TCP connections in two ways:
- In non-persistent HTTP, a separate TCP connection is opened and closed for each requested object.
- In persistent HTTP, modern web browsers often open multiple parallel TCP connections to the same server to download different web resources (images, stylesheets, etc.) concurrently.
- TELNET: Uses a single TCP connection (port 23) for the entire interactive session.
- SMTP (Simple Mail Transfer Protocol): Uses a single TCP connection (port 25) to transfer mail messages between the client and the mail server.
Therefore, both HTTP and FTP can use multiple TCP connections between the same client and server.
Correct Option: A
Free practice · Your answers on this page are not saved.
