Internet Direct (Indy) Version 9.0.1 Beta
TIdIRCServer
Specifies an Internet Relay Chat Protocol server.

TIdIRCServer = class(TIdTCPServer)
Description
TIdIRCServer is a TIdTCPServer descendant that provides a server implementation of the Internet Relay Chat (IRC) Protocol as described in the Internet Standards document:

The IRC protocol provides users with a way to chat among themselves in "chat rooms". The IRC protocol is a text-based conferencing protocol that uses TCP/IP as the network transport.

A typical IRC environment involves a single process (the server) that forms a central point for client (or other server) connections, performing the required message delivery/multiplexing and other functions. IRC allows various forms of message delivery including user-to-user, user-to-list, user-to-group, user-to-server, and server-to-server communication modes.

The only network configuration allowed for IRC servers is that of a spanning tree where each server acts as a central node for the rest of the network visible to the server.

An IRC client can be any socket-enable application capable of connecting to an IRC server that is not already an IRC server.

TIdIRCServer uses the standard port number IdPORT_IRC reserved for the IRC protocol to listen for client connections. TIdIRCServer, like TIdTCPServer, is a multithreaded application where new connections are respresented by a TIdPeerThread that is serviced by the TIdIRCServer.

TIdIRCServer recognizes the following IRC commands as defined in the RFC specification:

TIdIRCServer provides an event handler architecture for all IRC commands that allow the IRC server application to determine the appropriate mechanism used to respond to an IRC command. TIdIRCServer does not provide an implementation for the event handlers.