This command removes all packets currently
received and in the UDP packet queue.
This command can be used in server (mnStartServer)
and client state (mnConnect) when UDP is enabled and in UDP mode UM_CATCH_ALL
or UM_CATCH_ALL_NO.
When mnSetFunction has not been used
and in UDP mode UM_CATCH_ALL or UM_CATCH_ALL_NO, received UDP packets
are put into a queue and mnRecvUDP can be used to get packets from this
queue.
You can use mnGetUDPStoreAmount to determine how many packets are in the queue.
int Instance: This is the instance that the command should use.
int ClientID: This is the client ID of the client who’s packet queue you wish to empty. This can be ignored in client state and can be set to anything.
0 if no error occurred
-1 if an error occurred
DBP
C++
.Net