StatsThink
Called to keep connection open.
- int StatsThink( );
Routine | Required Header | Distribution |
---|---|---|
StatsThink | <gstats.h> | SDKZIP |
Return Value
returns 1 for success, or 0 for any errors that occurred.
Remarks
This function is used to consume keep-alives that the server sends to maintain the connection. It does not have to be called very often. Calling this function about once every 10 seconds should be sufficient.
Section Reference: Gamespy Stats and Tracking SDK