gt2WasMessageIDConfirmed

GameSpy SDK

gt2WasMessageIDConfirmed

Checks if confirmation has been received that the remote end received a particular reliable message.

GT2Bool gt2WasMessageIDConfirmed(
GT2Connection connection,
GT2MessageID messageID );
RoutineRequired HeaderDistribution
gt2WasMessageIDConfirmed<gt2.h>SDKZIP

Return Value

GT2True if confirmation was received locally that the reliable message represented by messageID was received by the remote end of the connection, GT2False if confirmation was not yet received.

Parameters

connection
[in] The handle to the connection.
messageID
[in] The ID of the message to check for confirmation.

Remarks

This should only be called on message ids that were returned by gt2GetLastSendMessageID, and should be used relatively soon after the message was sent, due to message ids wrapping around after a period of time.

Section Reference: Gamespy Transport SDK

See Also: gt2GetLastSentMessageID