NegotiateState
Possible states for the SDK. The two you will be notified for are ns_initack and ns_connectping.
- typedef enum
- {
- ns_initsent,
- ns_initack,
- ns_connectping,
- ns_finished,
- ns_canceled,
- ns_reportsent,
- ns_reportack
- } NegotiateState;
Constants
- ns_initsent
- Initial connection request has been sent to the server (internal).
- ns_initack
- NAT Negotiation server has acknowledged your connection request.
- ns_connectping
- Direct negotiation with the other client has started.
- ns_finished
- The negotiation process has completed (internal).
- ns_canceled
- The negotiation process has been canceled (internal).
- ns_reportsent
- Negotiation result report has been sent to the server (internal).
- ns_reportack
- NAT Negotiation server has acknowledged your result report (internal).
Section Reference: Gamespy NAT Negotiation SDK
See Also: NegotiateProgressFunc