Internet Direct (Indy)
Home
PreviousUpNext
TIdSystat.GetStat@TStrings

Captures the list of users connected to the systat server.

Parameters 
Description 
ADest 
Destination used to store the user list data. 

GetStat is a procedure used to retrieve the list of users connected to the systat server, and to return the unparsed unser list in ADest. ADest must be a valid TStrings descendant initialized prior to calling GetStat. 

There is no specific syntax for the list of users in ADest. It is recommended that it be limited to the ASCII printable characters, space, carriage return, and line feed. Each user should be listed on a separate line. 

GetStat acts in accordance with the systat protocol by opening the connecting to the server identified using the Host and Port properties. Change values in the Host and Port properties prior to calling GetStat. 

When the connection to the systat sserver has been established, GetStat captures values in the user list in ADest using the IOHandler for the connection. 

GetStat calls Disconnect following capture of data for the user list.

Connect Disconnect IOHandler Host Port

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.