qr2_error_t
Constants returned from qr2_init and the error callback to signal an error condition.
- typedef enum
- {
- e_qrnoerror,
- e_qrwsockerror,
- e_qrbinderror,
- e_qrdnserror,
- e_qrconnerror,
- e_qrnochallengeerror
- } qr2_error_t;
Constants
- e_qrnoerror
- No error occurred.
- e_qrwsockerror
- A standard socket call failed, e.g. exhausted resources.
- e_qrbinderror
- The SDK was unable to find an available port to bind on.
- e_qrdnserror
- A DNS lookup (for the master server) failed.
- e_qrconnerror
- The server is behind a NAT and does not support negotiation.
- e_qrnochallengeerror
- No challenge was received from the master - either the master is down, or a firewall is blocking UDP.
Section Reference: Gamespy Query and Reporting 2 SDK