IRC Documentation · Intermediate
Understand IRC numeric responses
A numeric reply is a message whose command is a three-digit code. The code and parameters define the structure; the final explanatory text is for display and may vary by server or language.
Dialova Team · Verified on
Read the structure rather than parsing a sentence #
:irc.example 353 Alice = #atelier :@Alice Bob
:irc.example 366 Alice #atelier :End of /NAMES list353 is the numeric command here. Alice is the recipient of the reply; #atelier and the list of nicknames are parameters useful to the client. The end-of-list phrase is not a stable identifier to recognize word for word.
Common references #
| Code | Usage | Important note |
|---|---|---|
| 001 | Welcome after registration | Do not equate this with a simple TCP opening. |
| 005 | ISUPPORT | Describes server properties; this is not a CAP ACK. |
| 311 / 318 | Start and end of WHOIS information | Multiple responses may interleave. |
| 332 / 333 | Topic and associated metadata | 333 is a common practice, not the entire TOPIC response. |
| 353 / 366 | Start and end of NAMES list | The list may be fragmented. |
| 401 | Target not found | Does not grant permission to bypass network policy. |
| 482 | Insufficient channel privileges | Verify the actual role, not just the client menu. |
| 903 / 904 | SASL success / failure. | Therefore, 9xx codes are not all successes. |
Historical responses and extensions. #
The RFCs describe a historical baseline, not all current responses. IRCd and extensions add codes; a client must be able to display or ignore them gracefully without inventing an interpretation. WHOIS can thus expose additional information depending on the network and permissions.
The 4xx and 5xx families contain many errors, but this heuristic does not replace the mechanism's documentation. Modern extensions also use structured responses like FAIL, WARN, or NOTE.
Associate the response with the correct action. #
A client can receive events and multiple responses simultaneously. Do not assume that "the next message received" is the response to the last command. Respect target parameters and end markers; labeled-response, when available, addresses more advanced correlation needs.
Sources & Verification
Examples use pseudonyms and fictional domains, except for explicitly documented connection points. Network-specific extensions and settings are noted in the text.
- Modern IRC — spécification du protocole client ↗Source Specification · consulted on 2026-10-29
- RFC 2812 — Client Protocol (2000) ↗Source Historical · consulted on 2026-10-29
- IRCv3 — catalogue des spécifications ↗Source Specification · consulted on 2026-10-29
- IRCv3 — SASL Authentication 3.1 ↗Source Specification · consulted on 2026-10-29