IsStatsConnected
Returns whether or not you are currently connected to the stats server.
- int IsStatsConnected( );
Routine | Required Header | Distribution |
---|---|---|
IsStatsConnected | <gstats.h> | SDKZIP |
Return Value
Returns 1 if connected, 0 otherwise.
Remarks
Even if your initial connection was successful, you may lose connection later and want to try to reconnnect.
If a callback returns unsuccessfully, check this function to see if it was because of a disconnection.
Section Reference: Gamespy Stats and Tracking SDK