peerQRNatNegotiateCallback
Called when a nat-negotiate cookie is received.
- typedef void (*peerQRNatNegotiateCallback)(
- PEER peer,
- int cookie,
- void * param );
Routine | Required Header | Distribution |
---|---|---|
peerQRNatNegotiateCallback | <peer.h> | SDKZIP |
Parameters
- peer
- [in] Initialized peer object
- cookie
- [in] Cookie received. Usually an integer value randomly generated by the sender.
- param
- [in] Pointer to user data. This is optional and will be passed unmodified to the callback function.
Remarks
The peerQRNatNegotiationCallback function is called when a nat-negotiate cooke is received. See the nat-negotiate documentation for more information.
Section Reference: Gamespy Peer SDK