Question:easy

Which one of the following protocols may need to broadcast some of its messages?

Show Hint

A protocol broadcasts only when it does not yet know a specific destination address; DHCP's first message goes out before the client has an IP or knows the server's address.
Updated On: Jul 22, 2026
  • SMTP
  • FTP
  • DHCP
  • HTTP
Show Solution

The Correct Option is C

Solution and Explanation

The question is really asking which of these protocols can find itself needing to send a message without already knowing a specific destination IP address, since broadcasting is the fallback used exactly in that situation.

  1. SMTP: used between mail servers that already know each other's address, found through a DNS MX lookup beforehand; it always talks point to point, never by broadcast.
  2. FTP: the client must dial a known server IP to even open the control channel; there is no stage where FTP needs to reach whoever is listening on the network, so it is always unicast.
  3. DHCP: a host joining a network for the first time typically has no IP address of its own and does not know the DHCP server's address either. Its opening message, DHCPDISCOVER, is sent as a local broadcast, to 255.255.255.255, so any DHCP server on the segment can pick it up and reply; later messages in the handshake are often broadcast too, until the client is fully configured.
  4. HTTP: the client resolves the web server's IP through DNS before sending any request, so it always talks directly, unicast, to that one server.

Only DHCP has a genuine reason to broadcast: it operates at a point where the requesting host cannot yet address anyone directly. The other three protocols always have a specific, already known destination.

Let's summarize:

  • Broadcasting is needed when a host does not yet know who to talk to directly, exactly DHCP's situation when it first joins a network.
  • SMTP, FTP, and HTTP all run over connections to an already-known server address, so they stay unicast.

So the protocol that may need to broadcast its messages is DHCP, option (C).

Was this answer helpful?
0

Questions Asked in GATE CS exam