gt2RemoveReceiveFilter

GameSpy SDK

gt2RemoveReceiveFilter

Removes a filter from the connection's incoming data filter list.

void gt2RemoveReceiveFilter(
GT2Connection connection,
gt2ReceiveFilterCallback callback );
RoutineRequired HeaderDistribution
gt2RemoveReceiveFilter<gt2.h>SDKZIP

Parameters

connection
[in] The handle to the connection.
callback
[in] The filtering callback to remove. NULL removes all filters.

Remarks

Filters should not be removed while a message is being filtered. If the callback is NULL, all of the filters will be removed.