mnGetUDPStoreAmount

This command returns the number of received packets that are in the UDP packet queue. When mnSetFunction has not been used and when 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 remove all UDP packets from the packet queue using mnFlushRecvUDP.

A similar command exists for TCP: mnGetTCPStoreAmount.

Parameters

int Instance: This is the instance that the command should use.

int ClientID: This is the client ID that the command should use.

Returns (Unsigned Integer)

Any number if no error occurred. This is the number of packets in the UDP packet queue.

0 if an error occurred.

Present in

DBP

C++

.Net




This page is in the following sections:
(2) Networking Commands
(1) Networking
(0) DarkNet Help