mnGetTCPPercent

This is used by the server and the client to check how much of the oldest TCP packet has been received (in percent).

See the file transfer demo for a demonstration on how this can be used.

This command will not work correctly in TCP mode ‘postfix’ (2). You can use mnGetTCPBytes instead.

Parameters

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

int ClientID: This is the client ID of the client to check the percentage of it's oldest incoming packet. This can be ignored in client state and can be set to anything.

Returns (Double)

The percentage of the oldest TCP packet that has been received if no error occurred.

-1 if an error occurred.

Present in

DBP

C++

.Net




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