Service Statistics

Each service maintains a table of statistics including the number of bytes sent and received by the service. The structure of these statistics tables is defined in laygodef.h. The application may retrieve the statistics table for a service by calling lgo_GetStatistics() and clear it, setting all entries to zero, by calling lgo_ClearStatistics().

The buffer filled by lgo_GetStatistics() can be cast to type LStatisticsTable The application may then access the stored statistics using the symbolic names provided in the appropriate protocol header file, xxxx_api.h, to index into the statistics array. An array of human-readable strings describing each statistic in the table can be retrieved using lgo_StatisticMessages().