qr2_natnegcallback_t

GameSpy SDK

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 );
RoutineRequired HeaderDistribution
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.