312-50V9 · Question #552
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 defined in RFC 1459 requires a client to send USER and NICK as the two mandatory registration commands when joining an IRC network.
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
(43 responses)- A91% (39)
- B2% (1)
- C5% (2)
- D2% (1)
Why each option
The IRC protocol defined in RFC 1459 requires a client to send USER and NICK as the two mandatory registration commands when joining an IRC network.
Per RFC 1459, IRC client registration requires the USER command, which supplies the username, hostname, servername, and real name, and the NICK command, which sets the client's chosen nickname. Both commands are mandatory for completing the server registration handshake - without them the server will not assign the client a connected session.
LOGIN is not a defined command in the IRC protocol specification RFC 1459 and does not exist in the standard IRC command set.
PASS is an optional IRC command used to supply a connection password and must be sent before USER and NICK if used, but it is not one of the two mandatory initial registration commands.
LOGIN is not a valid IRC protocol command, so this combination does not exist anywhere in the RFC 1459 specification.
Concept tested: IRC protocol mandatory client registration command sequence
Source: https://www.rfc-editor.org/rfc/rfc1459#section-4.1
Topics
Community Discussion
No community discussion yet for this question.