mnGetTCPRecvSizeB

This command returns the TCP buffer size of the specified client.

This command can be used in server (mnStartServer) and client state (mnConnect).

Packets larger than this size cannot be received from the specified client.

This command need only be used if mnChangeBufferSizeTCP has been used on a client. Otherwise, mnGetTCPRecvSizeA is sufficient.

Parameters

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

int ClientID: This is the client ID of the client who’s TCP buffer size you wish to determine. This can be ignored in client state and can be set to anything.

Returns (Unsigned Integer)

Any number if no error occurred. This is the TCP buffer size for the specified client. Packets larger than this size cannot be received from the specified client.

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