NegotiateProgressFunc
The callback that gets executed from NNBeginNegotiation as negotiation is proceeding.
- typedef void (*NegotiateProgressFunc)(
- NegotiateState state,
- void * userdata );
Routine | Required Header | Distribution |
---|---|---|
NegotiateProgressFunc | <natneg.h> | SDKZIP |
Parameters
- state
- [in] The state of the negotiation at the time of notification.
- userdata
- [in] Data for your own use.
Remarks
The two times you will get a progress notification is when the NAT Negotiation server acknowledges your connection request (ns_initack), and when the guessed port data has been received from the NAT Negotiation server and direct negotiation with the other client is in progress (ns_connectping).
Section Reference: Gamespy NAT Negotiation SDK
See Also: NNBeginNegotiation