This command changes the maximum amount
of data that can be stored in the specified packet. It also clears the
packet just as mnClearPacket does.
If you are going to add data to the packet
then you should set the memory size to be the same size or larger than
the total size of all the data you wish to add.
If the packet’s contents is going to
be filled by DarkNet (e.g. mnRecvTCP) then you do not need to set the
memory size, it will be increased if it is too small.
You can change the memory size without losing the contents of the packet using mnChangeMemorySize.
long long int Packet: The packet that the command should use.
unsigned int Size: The new memory size.
0 if no error occurred
-1 if an error occurred
C++
DBP
.Net