mnGetTCPStoreAmount

This command returns the number of received packets that are in the TCP packet queue. When mnSetFunction has not been used, received TCP packets are put into a queue and mnRecvTCP can be used to get packets from this queue.

You can remove all TCP packets from the packet queue using mnFlushRecvTCP.

A similar command exists for UDP: mnGetUDPStoreAmount.

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 TCP 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