312-50V11 · Question #650
Which of the following represents the initial two commands that an IRC client sends to join an IRC network?
The correct answer is A. USER, NICK. The IRC protocol requires a client to send USER and NICK as the first two commands to register on an IRC network, per RFC 1459.
Question
Which of the following represents the initial two commands that an IRC client sends to join an IRC network?
Options
- AUSER, NICK
- BLOGIN, NICK
- CUSER, PASS
- DLOGIN, USER
How the community answered
(22 responses)- A86% (19)
- B5% (1)
- D9% (2)
Why each option
The IRC protocol requires a client to send USER and NICK as the first two commands to register on an IRC network, per RFC 1459.
Per RFC 1459, an IRC client must issue the USER command (to supply username, hostname, servername, and real name) and the NICK command (to claim a nickname) as part of the initial connection registration sequence. Both are mandatory for the server to accept the client session.
LOGIN is not a defined command in the IRC protocol specification; it has no role in the IRC registration handshake.
PASS is an optional IRC command used only when a server or channel requires a password; it is not one of the two mandatory initial registration commands.
LOGIN is not a valid IRC protocol command, and this combination does not match the RFC 1459 registration sequence.
Concept tested: IRC protocol initial connection registration commands
Source: https://datatracker.ietf.org/doc/html/rfc1459
Topics
Community Discussion
No community discussion yet for this question.