Internet Direct (Indy) Version 9.0.1 Beta
TIdTunnelSlave.SetStatistics
Updates statistics for connections to the server.

procedure SetStatistics(Module: Integer; Value: Integer);
Parameters
Module: Integer
Statistical category to update.

Value: Integer
Delta value for the statistical category.

Description
SetStatistics is a procedure that allows the tunnel slave server to update variables that track active connections, packets transmitted, compression ratio, total number of compressed bytes, total bytes read, and total bytes written for the connection.

SetStatistics is called when the number of client connections is updated, or during SlaveThread execution.