This command is used to enable or disable
auto resize TCP.
When auto resize TCP is enabled the receive
buffer will increase in size if an incoming packet requires more memory
than is currently available.
This command can be used in server (mnStartServer)
and client (mnConnect) state but can also be used before the instance
is initialized.
By default auto resize TCP is false.
In server state auto resize TCP is not reset to default when a client disconnects. This command can be used on unused client IDs. If the client ID parameter is 0 then all clients will be affected. If this command is used on an inactive instance, a future mnStartServer will result in all clients auto resize TCP being changed.
int Instance: This is the instance that the command should use.
int ClientID: This is the client ID of the client who’s auto resize TCP option you wish to set. To change all clients’ auto resize TCP option set this to 0. This can be ignored in client and inactive state and can be set to anything.
bool AutoResizeTCP: This is the new auto resize TCP option.
0 if no error occurred
-1 if an error occurred
DBP
C++
.Net