In one of the pairs of protocols given below, both the protocols can use multiple TCP connections between the same client and the server. Which one is that?
Topic-wise GATE CS PYQs with verified steps
GATE CSE 2015 Set 1 · Q17
Time
Select one answerSingle correct
Solution
Official answer: A) HTTP, FTP
DNS and HTTPFTP (File Transfer Protocol): FTP natively uses two concurrent TCP connections between the same client and server: a control connection (typically port 21) for issuing commands, and a separate data connection (port 20 or an ephemeral port) for transferring files.
HTTP (Hypertext Transfer Protocol): Web clients (such as web browsers) can open multiple parallel TCP connections to the same server to fetch multiple embedded web resources simultaneously.
Other listed protocols (TELNET, SMTP) use a single TCP connection per session.
Thus, both HTTP and FTP can use multiple TCP connections between the same client and server.
Try the question first, then check your work.
Examiner trap
Think about which file transfer protocol uses separate control and data channels, and which web protocol supports opening concurrent connections for page assets.
This DNS and HTTP previous year question is Q17 of the GATE CSE 2015 Set 1 paper. Find more GATE CSE PYQs on DNS and HTTP in Computer Networks, or browse all GATE CSE PYQs.
Free diagnostic
Take the 20-minute diagnostic: the 3 topics that cost you the most marks, and a rank range. Or sit 5 related DNS and HTTP PYQs now with no account.
An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.
DNS and HTTP has 18 GATE CSE PYQs across 15 papers from 2011 to 2026. 13 of them are 1-mark MCQs like this one, and GATE CSE 2015 Set 1 has 2.
How GATE tests DNS and HTTPIndependent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.