gt2CloseConnectionHard

GameSpy SDK

gt2CloseConnectionHard

Closes a connection immediately.

void gt2CloseConnectionHard(
GT2Connection connection );
RoutineRequired HeaderDistribution
gt2CloseConnectionHard<gt2.h>SDKZIP

Parameters

connection
[in] The handle to the connection.

Remarks

This function closes a connection without waiting for confirmation from the remote side of the connection. Messages in transit may be lost. The connection's closed callback will be called from within this function.