gcd_process_reauth

GameSpy SDK

gcd_process_reauth

Used to respond to a reauthentication request made by the validation server proving the client is still on.

void gcd_process_reauth(
int gameid,
int localid,
int skey,
const char * response );
RoutineRequired HeaderDistribution
gcd_process_reauth<gcdkeys.h>SDKZIP

Parameters

gameid
[in] The game ID used to initialize the SDK with
localid
[in] An index of the client
skey
[in] The client's session key that came from the validation server
response
[in] The client's response to the challenge

Remarks

When the Reauthentication callback (passed to gcd_ authenticate user) is called, the host/server must send the required information to verify that the client is still online, using the CD Key being checked. This should be called after the client has computed a response to the challenge coming from the callback.

Section Reference: Gamespy CDKey SDK