qr2_register_natneg_callback
Sets the function that will be triggered when a nat negotiation request is received.
- void qr2_register_natneg_callback(
- qr2_t qrec,
- qr2_natnegcallback_t nncallback );
Routine | Required Header | Distribution |
---|---|---|
qr2_register_natneg_callback | <qr2.h> | SDKZIP |
Parameters
- qrec
- [in] QR2 SDK initialized with qr2_init.
- nncallback
- [in] Function to be called when a nat negotiation request is received.
Section Reference: Gamespy Query and Reporting 2 SDK