qr2_adderrorcallback_t

GameSpy SDK

qr2_adderrorcallback_t

he callbacks provided to qr2_init; called in response to a message from the master server indicating a problem listing the server.

typedef void (*qr2_adderrorcallback_t)(
qr2_error_t error,
gsi_char * errmsg,
void * userdata );
RoutineRequired HeaderDistribution
qr2_adderrorcallback_t<qr2.h>SDKZIP

Parameters

error
[in] The code that can be used to determine the specific listing error.
errmsg
[in] A human-readable error string returned from the master server.
userdata
[in] The userdata that was passed into qr2_init.

Remarks

The most common error that will be reported is if the master is unable to list the server due to a firewall or proxy
that would block incoming game packets.

Section Reference: Gamespy Query and Reporting 2 SDK

See Also: qr2_init