qr2_natnegcallback_t
This callback is set via qr2_register_natneg_callback; called when a nat negotiation request is received.
- typedef void (*qr2_natnegcallback_t)(
- int cookie,
- void * userdata );
Routine | Required Header | Distribution |
---|---|---|
qr2_natnegcallback_t | <qr2.h> | SDKZIP |
Parameters
- cookie
- [in] The cookie associated with the NAT Negotiation request.
- userdata
- [in] The userdata that was passed into qr2_init.
Section Reference: Gamespy Query and Reporting 2 SDK
See Also: qr2_init, qr2_register_natneg_callback