In this second article in a three-part series, we will discuss the Indy suite, a component which can be used for building an IRC client in Delphi. We will examine its capabilities and determine the minimum level of functionality needed for an IRC client.
A Brief Look at Indy - idIRCclient Component Properties (Page 2 of 4 )
Design-time properties:
Command: Explanation:
Nickname The primary nickname to be used. Defaults to 'Nick'. AltNick Another nick to use if the primary nick is already in use. Defaults to 'OtherNick'. UserName Your username (for the system you are using). RealName The information you want displayed in your whois response. Server Address of the IRC server to connect to. Port Server port number to connect to. Defaults to '6667.' Password Password needed to connect (if required). UserMode Set of user modes. Defaults to an empty set. umInvisible, umOperator, umServerNotices, umWallops. SocksServer Address of the SOCKS server to connect through. SocksPort Port number of the SOCKS server to connect through.
Run-time properties:
Connected Returns True if currently connected to the IRC network. Away Set to True if you are marked as away. Notify List of nicknames/addresses to be notified of when they join/leave IRC. State The current connection state. Channels The list of channel objects.
Replies Finger Standard CTCP reply for FINGER requests. Version Standard CTCP reply for VERSION requests. UserInfo Standard CTCP reply for USERINFO requests. ClientInfo Standard CTCP reply for CLIENTINFO requests.