Date First Published: 3rd June 2022
Topic: Computer Networking
Subtopic: Internet Protocols
Article Type: Computer Terms & Definitions
Difficulty: MediumDifficulty Level: 6/10
Learn more about what IRC is in this article.
Short for Internet Relay Chat, IRC is an application-layer protocol used for real-time chatting and instant messaging with users over the internet. IRC is mostly designed for group conversations. However, it can be used for one-to-one conversations. IRC also has additional features, such as file sharing and private messaging. For example, an IRC command which begins with a forwards slash (/) can be used to request a private session with another user. Another command can then be used to share a file from a local computer.
Users connect to IRC server through an IRC client, which may be a desktop program or a web app. Examples of programs used to connect to an IRC server are:
IRC can usually be accessed by a user running an IRC client to connect to a server. Then, the server relays information to and from other servers on the network.
Command | Function |
---|---|
/admin [target] | Request the server to return information about the administrators of the server specified by [target]. [target] is either the user or the server. |
/away [message] | Leaves a message indicating that the user is currently going away from the IRC. (e.g. /away I'm going away to go to the shop. I will be back soon. | /cnotice [nickname] [channel] :[message] | Sends a channel notice message to a specified nickname on a specified channel that bypasses flood protection limits. IRC servers will usually put a limit on the number of different targets that a user can send messages to within a certain period of time for the purpose of preventing spammers or bots from excessively sending messages to users on the network and overloading the server. This command is not officially defined in an RFC. |
/connect [target server [port [remote server]] | Requests the specified server to connect to the target server on a specified port. Only available to IRC operators. |
/die | Requests the server to close down. Only available to IRC operators. |
[source] /encap [destination] [subcommand] [parameters] | To encapsulate commands in order for them to be transferred across hub servers that are not yet updated to support them. |
/error [error message] | To report errors to other servers. Defined in RFC 1459. |
/help | Requests the server to display the help file. Not officially defined in an RFC. |
/info [target] | Returns information about the specified server, such as the server version, when it was compiled, the patch level, and when it was started. Information about the current server will be returned if [target] is not included. |
/invite [nickname] [channel] | To invite a specified nickname to a specified channel. |
/ison [nicknames] | Requests the server to see if the users in the space-separated list [nicknames] are currently on the network. |
/join [channels] [keys] | Specifies which users join the channels in the comma-separated list [channels] as well as the passwords in the comma-separated list [keys] if necessary. Channels that do not exist will be created. |
/kick [channel] [client] :[message] | Forces the specified client [client] to leave the channel. Can only be used by channel operators. |
/kill [client] [comment] | Forces the specified client [client] to leave the network. Can only be used by IRC operators. |
/links [remote server] [server mask] | Lists all the server links matching [server mask]. |
/list [channels] [server] | Lists all the channels on the server. If a comma-separated list [channels] is entered, it will return the topics of the channel. If [server] is entered, the command will be forwarded to [server] for evaluation. |
/lusers [mask] [server] | Returns statistics about the size of the network. |
/mode [nickname] [flags] (user) /mode [channel] [flags] [args] | Used for two purposes: To set both user and channel modes. |
/motd [server] | Returns the message of the day on the specified server [server]. If [server] is not included, it will return the message of the day on the current server. |
/names [channels] | Returns a list of the users on the comma-separated list of channels by channel name. |
/nick [nickname] | Changes the user's IRC nickname. |
/oper [username] [password] | Authenticates a user as an IRC operator on that server. |
/part [channels] [message] | Requests a user to leave the channels in the comma-separated list. [channels] |
/pass [password] | Sets the IRC connection password. |
/ping [server] | Tests the reachability of a connection. |
/primvmsg [msgtarget] [message] | Sends the [message] to [msgtarget]. |
/quit [message] | Disconnects a user from the server. |
/rehash | Requests a server to reread and reprocess its configuration file(s). Can only be used by IRC operators. |
/rules | Requests the rules of the server. |
/squit [server] [comment] | Requests the specified server [server] to quit the network. |
/setname [new real name] | Allows a user to change the real name specified when registering a connection. |
/stats [query] [server] | Returns statistics about a specified server [server]. If no server is specified, statistics will be returned about the current server. |
/summon [user] [server] | Sends users who are on the same host as [server] a messaging asking them to join the IRC. |
/time [server] | Requests the local time on a specified server [server]. If no server is specified, the local time will be returned for the current server. |
/topic [channel] [topic] | Allows the user to set the topic of the channel on [channel]. |
/user [username] [hostname] [servername] [realname] | Used at the start of the connection to specify the username, hostname, real name. |
/userhost [nickname] | Returns a list of all the information about the nicknames specified in the space-separated list. |
/userip [nickname] | Returns the IP address of the user with the specified nickname. |
version [server] | Returns the version of the specified server or current server if [server] is not included. |
wallops [message] | Sends the specified message [message] to all connected IRC operators. |
Users can join IRC conversations by entering a custom username and a channel. They can also create their own channels with a custom name. Channels are IRC groups where users can communicate with each other through typed messages. The username can contain alphanumeric characters, but not spaces. The names of channels begin with a hashtag along with the name, such as #ircchat. Even though most channels are available to the public, some are password protected. The chat process works on a client-server networking model.
After joining a channel, typed messages will appear and will be broadcasted by the server. Even though IRC systems allow channel members to type whatever they want, most popular channels have moderators, meaning that people that use the IRC system for malicious purposes, such as cyberbullying or spam can be kicked out or banned by blocking their IP address.
If so, it is important that you tell me as soon as possible on this page.
Network Services Network Setups Network Standards Network Hardware Network Identifiers Network Software Internet Protocols Internet Organisations Data Transmission Technologies Web Development Web Design Web Advertising Web Applications Web Organisations Web Technologies Web Services SEO Threats To Systems, Data & Information Security Mechanisms & Technologies Computer Hardware Computer Software Ethics & Sustainability Legislation & User Data Protection